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

The SystemException is thrown by the transaction manager to indicate that it has encountered an unexpected error condition that prevents future transaction services from proceeding.

Author:
Guillaume Sauthier
See Also:
Serialized Form

Field Summary
 int errorCode
          The error code with which to create the SystemException.
 
Constructor Summary
SystemException()
          Create an SystemException.
SystemException(int errcode)
          Create an SystemException with a given error code.
SystemException(String s)
          Create an SystemException with a given string.
 
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 with which to create the SystemException.

Constructor Detail

SystemException

public SystemException()
Create an SystemException.


SystemException

public SystemException(int errcode)
Create an SystemException with a given error code.

Parameters:
errcode - The error code for the exception

SystemException

public SystemException(String s)
Create an SystemException with a given string.

Parameters:
s - The String object containing the exception message.


Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.