pnuts.lang
Class PnutsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--pnuts.lang.PnutsException

public class PnutsException
extends java.lang.RuntimeException

This is a wrapper class for Exception to be thrown.

See Also:
Serialized Form

Field Summary
protected  java.lang.String contextName
           
protected  java.lang.String file
           
protected  int line
           
protected  java.lang.Throwable throwable
           
protected  java.util.Vector trace
           
 
Constructor Summary
PnutsException()
           
PnutsException(java.lang.String msg)
           
PnutsException(java.lang.String msg, Context context)
           
PnutsException(java.lang.String key, java.lang.Object[] param, Context context)
          this constructor creates a PnutsException using i18n resources in pnuts.properties.
PnutsException(java.lang.Throwable t)
          this constructor creates a PnutsException using i18n resources in pnuts.properties.
PnutsException(java.lang.Throwable t, Context context)
           
 
Method Summary
 java.lang.Throwable getThrowable()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintWriter writer)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

line

protected int line

file

protected java.lang.String file

throwable

protected java.lang.Throwable throwable

trace

protected java.util.Vector trace

contextName

protected java.lang.String contextName
Constructor Detail

PnutsException

public PnutsException()

PnutsException

public PnutsException(java.lang.String msg)

PnutsException

public PnutsException(java.lang.String msg,
                      Context context)

PnutsException

public PnutsException(java.lang.String key,
                      java.lang.Object[] param,
                      Context context)
this constructor creates a PnutsException using i18n resources in pnuts.properties.

PnutsException

public PnutsException(java.lang.Throwable t)
this constructor creates a PnutsException using i18n resources in pnuts.properties.

PnutsException

public PnutsException(java.lang.Throwable t,
                      Context context)
Method Detail

getThrowable

public java.lang.Throwable getThrowable()

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter writer)
Overrides:
printStackTrace in class java.lang.Throwable

toString

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