Package jakarta.transaction
Class SystemException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- jakarta.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.- Version:
- Jakarta Transactions 2.0
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description interrorCodeThe error code with which to create the SystemException.
 - 
Constructor SummaryConstructors Constructor Description SystemException()SystemException(int errcode)Create a SystemException with a given error code.SystemException(String s)Create a SystemException with a given string.
 - 
Method Summary- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
SystemExceptionpublic SystemException() 
 - 
SystemExceptionpublic SystemException(String s) Create a SystemException with a given string.- Parameters:
- s- The string message for the exception
 
 - 
SystemExceptionpublic SystemException(int errcode) Create a SystemException with a given error code.- Parameters:
- errcode- The error code for the exception
 
 
- 
 
-