com.objectwave.transactionalSupport
Class UpdateException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.objectwave.transactionalSupport.UpdateException
- All Implemented Interfaces:
- java.io.Serializable
- public class UpdateException
- extends java.lang.Exception
This exception may be thrown when trying to commit changes to a transactional
object.
Many of the methods within this class actually just delegate to the causing exception.
This should help with debugging.
- Version:
- 2.1
- Author:
- Dave Hoag
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UpdateException
public UpdateException(java.lang.String str)
UpdateException
public UpdateException(java.lang.Exception exception)
printStackTrace
public void printStackTrace(java.io.PrintStream stream)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter writer)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
getTargetException
public java.lang.Exception getTargetException()
- The target exception is the reason this update exception occured.