com.atomikos.icatch.jta
Class ExtendedSystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.transaction.SystemException
              extended by com.atomikos.icatch.jta.ExtendedSystemException
All Implemented Interfaces:
Serializable

public class ExtendedSystemException
extends SystemException

A better system exception, containing nested errors in a stack.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.transaction.SystemException
errorCode
 
Constructor Summary
ExtendedSystemException(String msg, Stack errors)
           
 
Method Summary
 Stack getErrors()
          Get any nested errors as a stack.
 void printStackTrace()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedSystemException

public ExtendedSystemException(String msg,
                               Stack errors)
Method Detail

getErrors

public Stack getErrors()
Get any nested errors as a stack.

Returns:
Stack The nested error stack, or null if none.

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable


Copyright © 2011. All Rights Reserved.