当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v5.0 API Specifications
SystemException (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications
javax.transaction
Class SystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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.
- See Also:
- Serialized Form
Field Summary |
int |
errorCode
The error code with which to create the SystemException. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
errorCode
public int errorCode
- The error code with which to create the SystemException.
SystemException
public SystemException()
SystemException
public SystemException(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
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.