|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry Class UnexpectedObjectException
java.lang.Object java.lang.Throwable java.lang.Exception javax.xml.registry.JAXRException javax.xml.registry.UnexpectedObjectException
- 所有已实现的接口:
- Serializable, JAXRResponse
public class UnexpectedObjectException
- extends JAXRException
This exception is thrown when the JAXR provider finds a Object that is out-of-place or of the wrong type within the context of a user request. For example a saveOrganizations request in BusinessLifeCycleManager would throw this Exception if it found an Object other than Organization in the Collection of Objects provided by client to be saved by the request.
- 作者:
- Farrukh S. Najmi
- 另请参见:
- Serialized Form
字段摘要 |
---|
Fields inherited from class javax.xml.registry.JAXRException |
---|
cause |
Fields inherited from interface javax.xml.registry.JAXRResponse |
---|
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING |
构造器摘要 | |
---|---|
UnexpectedObjectException()
Constructs a JAXRException object with no
reason or embedded Throwable. |
|
UnexpectedObjectException(String reason)
Constructs a JAXRException object with the given
String as the reason for the exception being thrown. |
|
UnexpectedObjectException(String reason,
Throwable cause)
Constructs a JAXRException object with the given
String as the reason for the exception being thrown
and the given Throwable object as an embedded
Throwable. |
|
UnexpectedObjectException(Throwable cause)
Constructs a JAXRException object initialized
with the given Throwable object. |
方法摘要 |
---|
类方法继承 javax.xml.registry.JAXRException |
---|
getCause, getMessage, getRequestId, getStatus, initCause, isAvailable |
类方法继承 java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
类方法继承 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
构造器详细信息 |
---|
UnexpectedObjectException
public UnexpectedObjectException()
- Constructs a
JAXRException
object with no reason or embedded Throwable.
UnexpectedObjectException
public UnexpectedObjectException(String reason)
- Constructs a
JAXRException
object with the givenString
as the reason for the exception being thrown.- 参数:
reason
- a description of what caused the exception
UnexpectedObjectException
public UnexpectedObjectException(String reason, Throwable cause)
- Constructs a
JAXRException
object with the givenString
as the reason for the exception being thrown and the givenThrowable
object as an embedded Throwable.- 参数:
reason
- a description of what caused the exceptioncause
- aThrowable
object that is to be embedded in thisJAXRException
object
UnexpectedObjectException
public UnexpectedObjectException(Throwable cause)
- Constructs a
JAXRException
object initialized with the givenThrowable
object.- 参数:
cause
- the Throwable that caused this Exception
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.