Package com.tangosol.util
Class ScriptException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.tangosol.util.ScriptException
-
- All Implemented Interfaces:
Serializable
public class ScriptException extends RuntimeException
Represents an exception of some sort has occurred while loading or executing scripts.- Since:
- 14.1.1.0
- Author:
- mk 2019.07.26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptException(String sMessage)Create an instance ofScriptExceptionwith the specified message.ScriptException(String sMessage, Throwable tCause)Create an instance ofScriptExceptionwith 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
-
-
-
-
Constructor Detail
-
ScriptException
public ScriptException(String sMessage)
Create an instance ofScriptExceptionwith the specified message.- Parameters:
sMessage- the detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
ScriptException
public ScriptException(String sMessage, Throwable tCause)
Create an instance ofScriptExceptionwith the specified message and cause.- Parameters:
sMessage- the detail message (which is saved for later retrieval by theThrowable.getMessage()method)tCause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown)
-
-