|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Extends:
Throwable > Exception
事务管理器抛出 SystemException 指示它遇到了一个不可预料的错误条件,该错误条件阻止了事务服务的继续进行。
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. |
Constructor Summary | |
---|---|
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.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
英文文档:
errorCode
public int errorCode
- The error code with which to create the SystemException.
Constructor Detail |
---|
public
SystemException()
英文文档:
SystemException
public SystemException()
public
SystemException(String s)
创建一个具有给定字符串的 XAException。
s | 异常的字符串消息 |
SystemException
public SystemException(String s)
- Create a SystemException with a given string.
- Parameters:
s
- The string message for the exception
public
SystemException(int errcode)
创建一个具有给定错误代码的 SystemException。
errcode | 该异常的错误代码 |
SystemException
public SystemException(int errcode)
- Create a SystemException with a given error code.
- Parameters:
errcode
- The error code for the exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!