Package 

Class JSONException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class JSONException
    extends RuntimeException
                        

    A base exception class for JSON errors.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String message
      private final Throwable cause
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONException(String message)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getMessage()
      Throwable getCause()
      • Methods inherited from class java.lang.Exception

        addSuppressed, fillInStackTrace, 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
    • Constructor Detail

      • JSONException

        JSONException(String message)