ProcessingException include
IO exceptions thrown by entity readers and writers during entity serialization and de-serialization.Throwable cause SHOULD
contain additional information about the reason of the processing failure.
Note that the exception is used to indicate (internal) JAX-RS processing errors. It is not used to indicate HTTP
error response states. A HTTP error response is represented by a jakarta.ws.rs.WebApplicationException class or
one of it's sub-classes.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | ProcessingException(final Throwable
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.)Constructs a new JAX-RS runtime processing exception with the specified cause and a detail message of
|
| public | ProcessingException(final String
the detail message (which is saved for later retrieval by the message, final Throwable getMessage() method).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.)Constructs a new JAX-RS runtime processing exception with the specified detail message and cause. |
| public | ProcessingException(final String
the detail message (which is saved for later retrieval by the message)getMessage() method).Constructs a new JAX-RS runtime processing exception with the specified detail message. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ProcessingException | back to summary |
|---|---|
| public ProcessingException(final Throwable cause) Constructs a new JAX-RS runtime processing exception with the specified cause and a detail message of
| |
| ProcessingException | back to summary |
|---|---|
| public ProcessingException(final String message, final Throwable cause) Constructs a new JAX-RS runtime processing exception with the specified detail message and cause. Note that the detail message associated withcause is not automatically incorporated in this runtime
exception's detail message.
| |
| ProcessingException | back to summary |
|---|---|
| public ProcessingException(final String message) Constructs a new JAX-RS runtime processing exception with the specified detail message. The cause is not initialized,
and may subsequently be initialized by a call to
| |