com.etymon.pj.exception
Class PjScriptException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.etymon.pj.exception.PjException
              extended by 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

Field Summary
(package private)  int _errorType
           
(package private)  int _lineNumber
           
(package private)  java.lang.String _message
           
(package private)  java.lang.String _source
           
 
Constructor Summary
PjScriptException(java.lang.String message, int lineNumber, java.lang.String source, int errorType)
          Creates a PjScriptException with detailed arguments.
 
Method Summary
 int getErrorType()
           
 java.lang.String getFullMessage()
           
 int getLineNumber()
           
 java.lang.String getMessage()
           
 java.lang.String getSource()
           
 
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
 

Field Detail

_message

java.lang.String _message

_lineNumber

int _lineNumber

_source

java.lang.String _source

_errorType

int _errorType
Constructor Detail

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.
Method Detail

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()