Package javax.transaction
Class SystemException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.transaction.SystemException
-
- All Implemented Interfaces:
java.io.Serializable
public class SystemException extends java.lang.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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
errorCode
The error code with which to create the SystemException.private static long
serialVersionUID
Specify serialVersionUID for backward compatibility
-
Constructor Summary
Constructors Constructor Description SystemException()
SystemException(int errcode)
Create a SystemException with a given error code.SystemException(java.lang.String s)
Create a SystemException with a given string.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Specify serialVersionUID for backward compatibility- See Also:
- Constant Field Values
-
errorCode
public int errorCode
The error code with which to create the SystemException.
-
-
Constructor Detail
-
SystemException
public SystemException()
-
SystemException
public SystemException(java.lang.String s)
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
-
-