|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
javax.resource.spi.work Class WorkException
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
javax.resource.spi.work.WorkException
- 所有已实现的接口:
- Serializable
public class WorkException
- extends ResourceException
A common base class for all Work processing related exceptions.
- 版本:
- 1.0
- 作者:
- Ram Jeyaraman
- 另请参见:
- Serialized Form
| 字段摘要 | |
|---|---|
static String |
INTERNAL
Indicates an internal error condition. |
static String |
START_TIMED_OUT
Indicates start timeout expiration. |
static String |
TX_CONCURRENT_WORK_DISALLOWED
Indicates that concurrent work within a transaction is disallowed. |
static String |
TX_RECREATE_FAILED
Indicates a failure in recreating the specified transaction context. |
static String |
UNDEFINED
Undefined error code. |
| 构造器摘要 | |
|---|---|
WorkException()
Constructs a new instance with null as its detail message. |
|
WorkException(String message)
Constructs a new instance with the specified detail message. |
|
WorkException(String message,
String errorCode)
Constructs a new throwable with the specified detail message and an error code. |
|
WorkException(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause. |
|
WorkException(Throwable cause)
Constructs a new throwable with the specified cause. |
|
| 方法摘要 |
|---|
| 类方法继承 javax.resource.ResourceException |
|---|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException |
| 类方法继承 java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 类方法继承 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
INTERNAL
public static final String INTERNAL
- Indicates an internal error condition.
- 另请参见:
- 常量字段
UNDEFINED
public static final String UNDEFINED
- Undefined error code.
- 另请参见:
- 常量字段
START_TIMED_OUT
public static final String START_TIMED_OUT
- Indicates start timeout expiration.
- 另请参见:
- 常量字段
TX_CONCURRENT_WORK_DISALLOWED
public static final String TX_CONCURRENT_WORK_DISALLOWED
- Indicates that concurrent work within a transaction is
disallowed. That is, there is already another
Workinstance associated with the specified transaction context.- 另请参见:
- 常量字段
TX_RECREATE_FAILED
public static final String TX_RECREATE_FAILED
- Indicates a failure in recreating the specified transaction context.
- 另请参见:
- 常量字段
| 构造器详细信息 |
|---|
WorkException
public WorkException()
- Constructs a new instance with null as its detail message.
WorkException
public WorkException(String message)
- Constructs a new instance with the specified detail message.
- 参数:
message- the detail message.
WorkException
public WorkException(Throwable cause)
- Constructs a new throwable with the specified cause.
- 参数:
cause- a chained exception of typeThrowable.
WorkException
public WorkException(String message, Throwable cause)
- Constructs a new throwable with the specified detail message and cause.
- 参数:
message- the detail message.cause- a chained exception of typeThrowable.
WorkException
public WorkException(String message, String errorCode)
- Constructs a new throwable with the specified detail message and
an error code.
- 参数:
message- a description of the exception.errorCode- a string specifying the vendor specific error code.
|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.
