예제 #1
0
 @Override
 public Object eval() throws ExpressionException {
   try {
     return store.getValue(name);
   } catch (Exception e) {
     throw newExpressionException(e.getLocalizedMessage());
   }
 }
예제 #2
0
 @Override
 public void setStore(StateStore store) throws ExpressionException {
   this.store = store;
   try {
     store.getValue(name);
   } catch (Exception e) {
     throw newExpressionException(e.getLocalizedMessage());
   }
 }