Package io.airlift.jaxrs
Class ParsingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- io.airlift.jaxrs.ParsingException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonMapperParsingException
public class ParsingException extends IOException
Exceptions that extend this class will be caught by the ParsingExceptionMapper and returned with a 400 response status code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParsingException(String message)ParsingException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-