planetj.dataengine.exception
Class DETransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
planetj.exception.CMException
planetj.dataengine.exception.DataEngineException
planetj.dataengine.exception.DETransactionException
- All Implemented Interfaces:
- java.io.Serializable
- public class DETransactionException
- extends DataEngineException
This class is used to encapsulate multiple exceptions that occur while doing mulitple
transactions.
An example would be inserting a RowCollection into the database. If an insert of a Row fails,
its exception can be added to the DETransactionException and the rest of the Rows can still be
inserted.
- See Also:
- Serialized Form
Methods inherited from class planetj.exception.CMException |
addPropertyChangeListener, firePropertyChange, getCMMessage, getDetailedMessage, getDisplayString, getDisplayStringInternal, getDisplayType, getMessage, getNextException, getOriginalException, getPropertyChange, getType, removePropertyChangeListener, setDetailedMessage, setDisplayType, setMessage, setNextException, setOriginalException, setType |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DETransactionException
public DETransactionException(java.lang.Exception e)
- DETransactionException constructor comment.
- Parameters:
e
- java.lang.Exception
DETransactionException
public DETransactionException(java.lang.Exception e,
java.lang.String pMessage)
- DETransactionException constructor comment.
- Parameters:
e
- java.lang.ExceptionpMessage
- java.lang.String
DETransactionException
public DETransactionException(java.lang.String s)
- DETransactionException constructor comment.
- Parameters:
s
- java.lang.String
addException
public void addException(java.lang.Exception e)
getExceptions
public java.util.List getExceptions()
toString
public java.lang.String toString()
- Returns the exception output as a String.
- Overrides:
toString
in class CMException
- Returns:
- java.lang.String