public class HeaderValueException
extends javax.ws.rs.ProcessingException
Processing exception
indicating that an attempt to
read a value of a header failed.Modifier and Type | Class and Description |
---|---|
static class |
HeaderValueException.Context
Context that contains header problems causing this exception (e.g.
|
Modifier and Type | Field and Description |
---|---|
private HeaderValueException.Context |
context |
private static long |
serialVersionUID |
Constructor and Description |
---|
HeaderValueException(java.lang.String message,
HeaderValueException.Context context)
Create a new header value exception from message and context.
|
HeaderValueException(java.lang.String message,
java.lang.Throwable cause,
HeaderValueException.Context context)
Create a new header value exception from message, cause and context.
|
Modifier and Type | Method and Description |
---|---|
HeaderValueException.Context |
getContext()
Get the exception context.
|
private static final long serialVersionUID
private final HeaderValueException.Context context
public HeaderValueException(java.lang.String message, java.lang.Throwable cause, HeaderValueException.Context context)
message
- Exception message.cause
- Exception cause.context
- Context in which this exception was thrown.public HeaderValueException(java.lang.String message, HeaderValueException.Context context)
message
- Exception message.context
- Context in which this exception was thrown.public HeaderValueException.Context getContext()