public class

JsonProcessingException

extends IOException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ com.fasterxml.jackson.core.JsonProcessingException
Known Direct Subclasses

Class Overview

Intermediate base class for all problems encountered when processing (parsing, generating) JSON content that are not pure I/O problems. Regular IOExceptions will be passed through as is. Sub-class of IOException for convenience.

Summary

Fields
protected JsonLocation _location
Protected Constructors
JsonProcessingException(String msg, JsonLocation loc, Throwable rootCause)
JsonProcessingException(String msg)
JsonProcessingException(String msg, JsonLocation loc)
JsonProcessingException(String msg, Throwable rootCause)
JsonProcessingException(Throwable rootCause)
Public Methods
JsonLocation getLocation()
String getMessage()
Default method overridden so that we can add location information
String toString()
Protected Methods
String getMessageSuffix()
Accessor that sub-classes can override to append additional information right after the main message, but before source location information.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Fields

protected JsonLocation _location

Protected Constructors

protected JsonProcessingException (String msg, JsonLocation loc, Throwable rootCause)

protected JsonProcessingException (String msg)

protected JsonProcessingException (String msg, JsonLocation loc)

protected JsonProcessingException (String msg, Throwable rootCause)

protected JsonProcessingException (Throwable rootCause)

Public Methods

public JsonLocation getLocation ()

public String getMessage ()

Default method overridden so that we can add location information

public String toString ()

Protected Methods

protected String getMessageSuffix ()

Accessor that sub-classes can override to append additional information right after the main message, but before source location information.