当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Class SystemException - Java Platform, Enterprise Edition v1.3.1 API Specifications
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 |
int |
errorCode
The error code to create the SystemException with |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
errorCode
public int errorCode
- The error code to create the SystemException with
SystemException
public SystemException()
SystemException
public SystemException(java.lang.String s)
- Create an SystemException with a given string.
- Parameters:
s
- The string message for the exception
SystemException
public SystemException(int errcode)
- Create an SystemException with a given error code.
- Parameters:
errCode
- The error code for the exception