Module technology.sola.script
Package technology.sola.script.error
Class ScriptInterpretationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
technology.sola.script.error.ScriptInterpretationException
- All Implemented Interfaces:
Serializable
ScriptErrorException is a runtime exception that is thrown while trying to interpret a sola script containing
information about the
ScriptErrorType
cause and the Token
it was found at.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Object[]
The additional details about the error.final ScriptErrorType
TheScriptErrorType
of the error.final Token
TheToken
where the error occurred. -
Constructor Summary
ConstructorsConstructorDescriptionScriptInterpretationException
(Token token, ScriptErrorType errorType, Object... errorsArgs) Creates an instance of this exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
token
TheToken
where the error occurred. -
errorType
TheScriptErrorType
of the error. -
errorsArgs
The additional details about the error.
-
-
Constructor Details
-
ScriptInterpretationException
Creates an instance of this exception.- Parameters:
token
- theToken
where the error occurrederrorType
- theScriptErrorType
of the errorerrorsArgs
- the additional details about the error
-