Class HeaderValueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.ProcessingException
-
- org.glassfish.jersey.message.internal.HeaderValueException
-
- All Implemented Interfaces:
java.io.Serializable
public class HeaderValueException extends javax.ws.rs.ProcessingException
Processing exception
indicating that an attempt to read a value of a header failed.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeaderValueException.Context
Context that contains header problems causing this exception (e.g.
-
Field Summary
Fields Modifier and Type Field Description private HeaderValueException.Context
context
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description HeaderValueException(java.lang.String message, java.lang.Throwable cause, HeaderValueException.Context context)
Create a new header value exception from message, cause and context.HeaderValueException(java.lang.String message, HeaderValueException.Context context)
Create a new header value exception from message and context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderValueException.Context
getContext()
Get the exception context.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
context
private final HeaderValueException.Context context
-
-
Constructor Detail
-
HeaderValueException
public HeaderValueException(java.lang.String message, java.lang.Throwable cause, HeaderValueException.Context context)
Create a new header value exception from message, cause and context.- Parameters:
message
- Exception message.cause
- Exception cause.context
- Context in which this exception was thrown.
-
HeaderValueException
public HeaderValueException(java.lang.String message, HeaderValueException.Context context)
Create a new header value exception from message and context.- Parameters:
message
- Exception message.context
- Context in which this exception was thrown.
-
-
Method Detail
-
getContext
public HeaderValueException.Context getContext()
Get the exception context.- Returns:
- Context in which the exception was thrown.
-
-