javax.transaction
Class SystemException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.transaction.SystemException
All Implemented Interfaces:
java.io.Serializable

public class SystemException
extends java.lang.Exception

This exception is thrown to indicate that the transaction manager has encountered an unexpected error condition that prevents future transaction services from proceeding.

See Also:
Serialized Form

Field Summary
 int errorCode
          The error code of this exception.
 
Constructor Summary
SystemException()
          Creates a new SystemException without a detail message.
SystemException(int errcode)
          Constructs an SystemException with the specified detail message.
SystemException(java.lang.String msg)
          Constructs an SystemException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorCode

public int errorCode
The error code of this exception. Values of this field are not specified by JTA.

Constructor Detail

SystemException

public SystemException()
Creates a new SystemException without a detail message.


SystemException

public SystemException(java.lang.String msg)
Constructs an SystemException with the specified detail message.

Parameters:
msg - the detail message.

SystemException

public SystemException(int errcode)
Constructs an SystemException with the specified detail message.

Parameters:
errcode - the error code for the exception