javax.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 javax.ws.rs.BadRequestException
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(String
the detail message (which is saved for later retrieval
by the message)getMessage() method).Construct a new |
| public | NoContentException(String
the detail message (which is saved for later retrieval
by the message, Throwable getMessage() method).the underlying cause of the exception. cause)Construct a new |
| public | NoContentException(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(String message) Construct a new
| |
| NoContentException | back to summary |
|---|---|
| public NoContentException(String message, Throwable cause) Construct a new
| |
| NoContentException | back to summary |
|---|---|
| public NoContentException(Throwable cause) Construct a new
| |