Interface HttpException
- All Superinterfaces:
 QuietException
- All Known Implementing Classes:
 BadMessageException, HttpException.IllegalArgumentException, HttpException.RuntimeException
A tagging interface for Exceptions that carry a HTTP response code and reason.
Exception sub-classes that implement this interface will be caught by the container
and the getCode() used to send a response.
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classException thrown to indicate a Bad HTTP Message has either been received or attempted to be generated.static classException thrown to indicate a Bad HTTP Message has either been received or attempted to be generated.Nested classes/interfaces inherited from interface QuietException
QuietException.Exception - 
Method Summary
Modifier and TypeMethodDescriptionintgetCode()static voidthrowAsUnchecked(HttpException httpException)  
- 
Method Details
- 
getCode
int getCode() - 
getReason
String getReason() - 
throwAsUnchecked
 
 -