Package io.airlift.jaxrs
Class JsonMapperParsingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- io.airlift.jaxrs.ParsingException
-
- io.airlift.jaxrs.JsonMapperParsingException
-
- All Implemented Interfaces:
Serializable
public class JsonMapperParsingException extends ParsingException
Wraps JsonProcessingExceptions to provide more information about parsing errors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonMapperParsingException(Class<?> type, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getType()Returns the type of object that failed Json parsing.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-