org.apache.jcc
Class PythonException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.jcc.PythonException
All Implemented Interfaces:
java.io.Serializable

public class PythonException
extends java.lang.RuntimeException

See Also:
Serialized Form

Field Summary
protected  java.lang.String errorName
           
protected  java.lang.String message
           
protected  java.lang.String traceback
           
 boolean withTrace
           
 
Constructor Summary
PythonException(java.lang.String message)
           
 
Method Summary
 void clear()
           
protected  void getErrorInfo()
           
 java.lang.String getErrorName()
           
 java.lang.String getMessage()
           
 java.lang.String getMessage(boolean trace)
           
 java.lang.String getTraceback()
           
 
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

withTrace

public boolean withTrace

message

protected java.lang.String message

errorName

protected java.lang.String errorName

traceback

protected java.lang.String traceback
Constructor Detail

PythonException

public PythonException(java.lang.String message)
Method Detail

getMessage

public java.lang.String getMessage(boolean trace)

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getErrorName

public java.lang.String getErrorName()

getTraceback

public java.lang.String getTraceback()

getErrorInfo

protected void getErrorInfo()

clear

public void clear()