Class ScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.shared.scriptinterpreter.ScriptException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ScriptEvaluationException
,ScriptReturnException
public class ScriptException
extends java.lang.Exception
Common errors during script running.
- Since:
- 1.3
- Author:
- Slawomir Jaranowski
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ScriptException(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
-
ScriptException
public ScriptException(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
.
-