JAXRResponse
| Modifier and Type | Field and Description |
|---|---|
| protected Throwable | cause
Hides java. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | JAXRException(String
a description of what caused the exception reason)Constructs a |
| public | JAXRException(String
a description of what caused the exception reason, Throwable a cause)Throwable object that is to
be embedded in this JAXRException objectConstructs a |
| public | JAXRException(Throwable
the Throwable that caused this Exception cause)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | Returns: the embedded Throwable ornull if there is
noneOverrides java. JAXRException
if there is one.
|
| public String | Returns: the error or warning message for thisJAXRException or, if it has none, the
message of the embedded Throwable, if there is oneOverrides java. JAXRException
object.
|
| public String | getRequestId()
Implements javax. |
| public int | getStatus()
Implements javax. |
| public synchronized Throwable | Returns: a reference to thisThrowable instance.the cause (which is saved for later retrieval by the
cause)getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)Overrides java. |
| public boolean | isAvailable()
Implements javax. |
| cause | back to summary |
|---|---|
| protected Throwable cause Hides java. The Throwable that caused this JAXRException to occur. This is used when a JAXRException has a nested Throwable. | |
| JAXRException | back to summary |
|---|---|
| public JAXRException() Constructs a | |
| JAXRException | back to summary |
|---|---|
| public JAXRException(String reason) Constructs a
| |
| JAXRException | back to summary |
|---|---|
| public JAXRException(String reason, Throwable cause) Constructs a | |
| JAXRException | back to summary |
|---|---|
| public JAXRException(Throwable cause) Constructs a
| |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Returns the Throwable embedded in this
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Returns the detail message for this
If there is an embedded Throwable, and if the
| |
| getRequestId | back to summary |
|---|---|
| public String getRequestId() Implements javax. Doc from javax. Returns the unique id for the request that generated this response.
| |
| getStatus | back to summary |
|---|---|
| public int getStatus() Implements javax. Doc from javax. Returns the status for this response.
| |
| initCause | back to summary |
|---|---|
| public synchronized Throwable initCause(Throwable cause) Overrides java. Initializes the cause of this throwable to the specified value. (The cause is the throwable that caused this throwable to get thrown.) This method can be called at most once. It is generally called from
within the constructor, or immediately after creating the
throwable. If this throwable was created
with
| |
| isAvailable | back to summary |
|---|---|
| public boolean isAvailable() throws JAXRException Implements javax. Returns true if a response is available, false otherwise. This is a polling method and must not block.
| |