The exception class thrown when an abnormal condition/problem has been detected in the scripting engine.
For example, this exception will be thrown when it is strongly presumed that there is an incorrect something (e.g.: bugs) in the implementation code of the scripting engine.
In addition,
this exception will also be thrown when the operation of the scripting engine by the application is not following the expected (correct) procedure.
For example, if the application calls terminateScript() method of the engine
although isTerminatorEnabled() method returns "false",
then this exception occurs.
In principle, when implementations of both the scripting engine and the application are correct, this exception does not occur.
Conversely, if this error has occurred, it probably indicates that it requires to fix the implementation of the scripting engine or the application.
Hence, it is not recommended that "catch" this exception and ignore it casually.
For the above reason, this exception is designed as an "unchecked exception", which does not require to be encrosed by try/catch statements.
See also: the document of VnanoException.
Name | VnanoFatalException |
---|---|
Signature | VnanoFatalException() |
Description | Create the VnanoException having no error message. |
Parameters | None |
Return | The created VnanoFatalException. |
Name | VnanoFatalException |
---|---|
Signature | VnanoFatalException(String errorMessage) |
Description | Create the VnanoException having the specified error message. |
Parameters | errorMessage: The error message. |
Return | The created VnanoFatalException. |
Name | VnanoFatalException |
---|---|
Signature | VnanoFatalException(Throwable errorCauseThrowable) |
Description | Create the VnanoException having the specified cause information. |
Parameters | errorCauseThrowable: The Throwable of the cause of the error. |
Return | The created VnanoFatalException. |
Name | VnanoFatalException |
---|---|
Signature | VnanoFatalException(String errorMessage, Throwable errorCauseThrowable) |
Description | Create the VnanoException having the specified error message and the cause information. |
Parameters |
errorMessage: The error message.
errorCauseThrowable: The Throwable of the cause of the error. |
Return | The created VnanoFatalException. |
- None -
- None -