Package javax.transaction
Class SystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.transaction.SystemException
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
The error code with which to create the SystemException. -
Constructor Summary
ConstructorDescriptionSystemException
(int errcode) Create a SystemException with a given error code.Create a SystemException with a given string. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorCode
public int errorCodeThe error code with which to create the SystemException.
-
-
Constructor Details
-
SystemException
public SystemException() -
SystemException
Create a SystemException with a given string.- Parameters:
s
- The string message for the exception
-
SystemException
public SystemException(int errcode) Create a SystemException with a given error code.- Parameters:
errcode
- The error code for the exception
-