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

Constructor Summary
UpdateException(java.lang.Exception exception)
           
UpdateException(java.lang.String str)
           
 
Method Summary
 java.lang.Exception getTargetException()
          The target exception is the reason this update exception occured.
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream stream)
           
 void printStackTrace(java.io.PrintWriter writer)
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

UpdateException

public UpdateException(java.lang.String str)

UpdateException

public UpdateException(java.lang.Exception exception)
Method Detail

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.