Package org.bson.json

Class JsonParseException

    • Constructor Detail

      • JsonParseException

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

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

        public JsonParseException​(String pattern,
                                  Object... args)
        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​(Throwable t)
        Create a JSONParseException with the given Throwable cause.
        Parameters:
        t - the throwable root case