com.jtri.exception
Class PersistenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.jtri.exception.PersistenceException
All Implemented Interfaces:
java.io.Serializable

public class PersistenceException
extends java.lang.Exception

Author:
atorres General Exception that tracks his origins in a persistent event. TODO: May have property/row information?
See Also:
Serialized Form

Field Summary
static int DELETE
           
static int INSERT
           
static int UPDATE
           
 
Constructor Summary
PersistenceException(java.lang.String msg, int event)
           
PersistenceException(java.lang.Throwable ex, int event)
           
 
Method Summary
 int getEvent()
           
 void setEvent(int event)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSERT

public static final int INSERT
See Also:
Constant Field Values

UPDATE

public static final int UPDATE
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values
Constructor Detail

PersistenceException

public PersistenceException(java.lang.Throwable ex,
                            int event)

PersistenceException

public PersistenceException(java.lang.String msg,
                            int event)
Method Detail

getEvent

public int getEvent()

setEvent

public void setEvent(int event)