Class ScriptEvaluationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.shared.scriptinterpreter.ScriptException
org.apache.maven.shared.scriptinterpreter.ScriptEvaluationException
- All Implemented Interfaces:
java.io.Serializable
public class ScriptEvaluationException extends ScriptException
Signals an error during parsing/evaluation of a script. This can either be a syntax error in the script itself or an
exception triggered by the methods it invoked.
- Author:
- Benjamin Bentmann
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ScriptEvaluationException(java.lang.String message, java.lang.Throwable cause)
Creates a new exception with the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ScriptEvaluationException
public ScriptEvaluationException(java.lang.String message, java.lang.Throwable cause)Creates a new exception with the specified message and cause.- Parameters:
message
- The message, may benull
.cause
- The cause, may benull
.- Since:
- 1.3
-