Package org.bson.json

Class JsonParseException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated(since="2022-10-31")
    public class JsonParseException
    extends java.lang.RuntimeException
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    JSONParseException indicates some exception happened during JSON processing.
    Since:
    3.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonParseException()
      Deprecated.
      Constructs a new runtime exception with null as its detail message.
      JsonParseException​(java.lang.String s)
      Deprecated.
      Constructs a new runtime exception with the specified detail message.
      JsonParseException​(java.lang.String pattern, java.lang.Object... args)
      Deprecated.
      Constructs a new runtime exception with string formatted using specified pattern and arguments.
      JsonParseException​(java.lang.Throwable t)
      Deprecated.
      Create a JSONParseException with the given Throwable cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JsonParseException

        public JsonParseException()
        Deprecated.
        Constructs a new runtime exception with null as its detail message.
      • JsonParseException

        public JsonParseException​(java.lang.String s)
        Deprecated.
        Constructs a new runtime exception with the specified detail message.
        Parameters:
        s - The detail message.
      • JsonParseException

        public JsonParseException​(java.lang.String pattern,
                                  java.lang.Object... args)
        Deprecated.
        Constructs a new runtime exception with string formatted using specified pattern and arguments.
        Parameters:
        pattern - A format string.
        args - the arguments to insert into the pattern String
      • JsonParseException

        public JsonParseException​(java.lang.Throwable t)
        Deprecated.
        Create a JSONParseException with the given Throwable cause.
        Parameters:
        t - the throwable root case