Class DeserializationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.json.simple.DeserializationException
All Implemented Interfaces:
Serializable

public class DeserializationException
extends Exception
DeserializationException explains how and where the problem occurs in the source JSON text during deserialization.
Since:
2.0.0
See Also:
Serialized Form
  • Constructor Details

    • DeserializationException

      public DeserializationException​(int position, DeserializationException.Problems problemType, Object unexpectedObject)
      Instantiates a DeserializationException without assumptions.
      Parameters:
      position - where the exception occurred.
      problemType - how the exception occurred.
      unexpectedObject - what caused the exception.
  • Method Details