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:
- 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, getDisplayType, getMessage, getNextException, getOriginalException, getType, removePropertyChangeListener, setDetailedMessage, setDisplayType, setMessage, setNextException, setOriginalException, setType |
DETransactionException
public DETransactionException(Exception e)
- DETransactionException constructor comment.
- Parameters:
e
- java.lang.Exception
DETransactionException
public DETransactionException(Exception e,
String pMessage)
- DETransactionException constructor comment.
- Parameters:
e
- java.lang.ExceptionpMessage
- java.lang.String
DETransactionException
public DETransactionException(String s)
- DETransactionException constructor comment.
- Parameters:
s
- java.lang.String
addException
public void addException(Exception e)
getExceptions
public List getExceptions()
toString
public String toString()
- Returns the exception output as a String.
- Overrides:
toString
in class CMException
- Returns:
- java.lang.String