Class JsonStreamException

  • All Implemented Interfaces:
    Serializable

    public final class JsonStreamException
    extends RuntimeException
    JsonStreamException are thrown by ObjectWriter and ObjectReader implementations. They indicate that there was a syntax error or a state error (calling endObject when it should be endArray etc).
    Author:
    Eugen Cepoi
    See Also:
    Serialized Form
    • Constructor Detail

      • JsonStreamException

        public JsonStreamException​(String message,
                                   Throwable cause)
      • JsonStreamException

        public JsonStreamException​(String message)
      • JsonStreamException

        public JsonStreamException​(Throwable cause)
    • Method Detail

      • getColumn

        public int getColumn()
      • getRow

        public int getRow()
      • niceTrace

        public static <T extends Exception> T niceTrace​(T exception)