com.etymon.pj.exception
Class PjScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.etymon.pj.exception.PjException
com.etymon.pj.exception.PjScriptException
- All Implemented Interfaces:
- java.io.Serializable
public class PjScriptException
- extends PjException
An exception that gets thrown by PjScript.
- See Also:
- Serialized Form
Constructor Summary |
PjScriptException(java.lang.String message,
int lineNumber,
java.lang.String source,
int errorType)
Creates a PjScriptException with detailed arguments. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_message
java.lang.String _message
_lineNumber
int _lineNumber
_source
java.lang.String _source
_errorType
int _errorType
PjScriptException
public PjScriptException(java.lang.String message,
int lineNumber,
java.lang.String source,
int errorType)
- Creates a PjScriptException with detailed arguments.
- Parameters:
message
- a detailed message.lineNumber
- the line number in the script where the exception occurred.source
- the file or program where the script originated.errorType
- the general class of error.
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getLineNumber
public int getLineNumber()
getSource
public java.lang.String getSource()
getErrorType
public int getErrorType()
getFullMessage
public java.lang.String getFullMessage()