Package se.datadosen.util
Class ScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.script.ScriptException
se.datadosen.util.ScriptException
- All Implemented Interfaces:
java.io.Serializable
,ContextualException
public class ScriptException extends javax.script.ScriptException implements ContextualException
Like javax.script.ScriptException but with File reference
- Since:
- 13.8
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ScriptException(java.lang.String message, java.io.File file, int lineNumber)
ScriptException(java.lang.String message, java.io.File file, int lineNumber, int columnNumber)
ScriptException(java.lang.Throwable cause, java.io.File file, int lineNumber)
-
Method Summary
Modifier and Type Method Description java.io.File
getFile()
static ScriptException
of(java.lang.Throwable cause, java.io.File file, int lineNumber)
Methods inherited from class javax.script.ScriptException
getColumnNumber, getFileName, getLineNumber, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
Methods inherited from interface se.datadosen.util.ContextualException
getCause, getColumnNumber, getLineNumber, getMessage
-
Constructor Details
-
ScriptException
public ScriptException(java.lang.String message, java.io.File file, int lineNumber, int columnNumber) -
ScriptException
public ScriptException(java.lang.String message, java.io.File file, int lineNumber) -
ScriptException
public ScriptException(java.lang.Throwable cause, java.io.File file, int lineNumber)
-
-
Method Details
-
getFile
public java.io.File getFile()- Specified by:
getFile
in interfaceContextualException
-
of
-