javax.transaction
Class SystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.transaction.SystemException
All Implemented Interfaces:
Serializable

public class SystemException
extends Exception

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

Version:
$Revision: 57196 $
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(String msg)
          Constructs an SystemException with the specified detail message.
 
Method Summary
 
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(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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.