Class jRaiseError
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.functor.JFunctorImpl
-
- edu.uiuc.ncsa.security.util.functor.system.jRaiseError
-
- All Implemented Interfaces:
JFunctor
,JMetaMetaFunctor
,JSONFunctor
,Serializable
public class jRaiseError extends JFunctorImpl
This will throw an exception during execution. Since scripting allows much more complex flows, some sort of ability to raise an exception is needed if, for instance, the state of the script warrants it. All this does on execute is throw aFunctorRuntimeException
with a message.Created by Jeff Gaynor
on 2/26/19 at 9:19 AM- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.util.functor.JFunctorImpl
args, executed, result, type
-
-
Constructor Summary
Constructors Constructor Description jRaiseError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
execute()
-
Methods inherited from class edu.uiuc.ncsa.security.util.functor.JFunctorImpl
addArg, addArg, addArg, addArg, addArg, addArg, checkArgs, checkArgs, clearState, getArgs, getBooleanResult, getIntResult, getListResult, getName, getResult, getStringResult, isExecuted, reset, toJSON, toString
-
-
-
-
Method Detail
-
execute
public Object execute()
-
-