public class UnexpectedObjectException extends JAXRException
cause
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING
Constructor and Description |
---|
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. |
getCause, getMessage, getRequestId, getStatus, initCause, isAvailable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedObjectException()
JAXRException
object with no
reason or embedded Throwable.public UnexpectedObjectException(String reason)
JAXRException
object with the given
String
as the reason for the exception being thrown.reason
- a description of what caused the exceptionpublic UnexpectedObjectException(String reason, Throwable cause)
JAXRException
object with the given
String
as the reason for the exception being thrown
and the given Throwable
object as an embedded
Throwable.reason
- a description of what caused the exceptioncause
- a Throwable
object that is to
be embedded in this JAXRException
objectpublic UnexpectedObjectException(Throwable cause)
JAXRException
object initialized
with the given Throwable
object.cause
- the Throwable that caused this ExceptionCopyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.