jakarta.ws.rs.ext.MessageBodyReader implementations when reading a zero-length
message content to indicate that the message body reader is not able to produce an instance representing an
zero-length message content.
This exception, when thrown while reading a server request entity, is automatically translated by JAX-RS server
runtime into a jakarta. wrapping the original NoContentException and rethrown
for a standard processing by the registered exception mappers.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | NoContentException(final String
the detail message (which is saved for later retrieval by the message)getMessage() method).Construct a new |
| public | NoContentException(final String
the detail message (which is saved for later retrieval by the message, final Throwable getMessage() method).the underlying cause of the exception. cause)Construct a new |
| public | NoContentException(final Throwable
the underlying cause of the exception. cause)Construct a new |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NoContentException | back to summary |
|---|---|
| public NoContentException(final String message) Construct a new
| |
| NoContentException | back to summary |
|---|---|
| public NoContentException(final String message, final Throwable cause) Construct a new
| |
| NoContentException | back to summary |
|---|---|
| public NoContentException(final Throwable cause) Construct a new
| |