Package io.kjson

Class JSONException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class JSONException
    extends RuntimeException
                        

    A base exception class for JSON errors.

    Author:

    Peter Wall

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getMessage()
      final String getText() The base text of the message.
      Object getKey() An optional key, indicating where the error occurred.
      final JSONException withCause(Throwable throwable) Add a "cause" Throwable.
      • Methods inherited from class kotlin.Throwable

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait