Class ScriptReturnException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.shared.scriptinterpreter.ScriptException
-
- org.apache.maven.shared.scriptinterpreter.ScriptReturnException
-
- All Implemented Interfaces:
java.io.Serializable
public class ScriptReturnException extends ScriptException
Signals an invalid value returned from script execution.- Since:
- 1.3
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
result
Resultprivate static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ScriptReturnException(java.lang.String message, java.lang.Object result)
Creates a new exception with the specified message and result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getResult()
Retrieve result returned by script.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
result
private final java.lang.Object result
Result
-
-