Class JSONException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JSONException
    extends java.io.IOException
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JSONException.Entry  
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONException​(java.lang.String p_i45279_1_)  
      JSONException​(java.lang.String p_i45280_1_, java.lang.Throwable p_i45280_2_)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static JSONException forException​(java.lang.Exception p_151379_0_)  
      java.lang.String getMessage()  
      void prependJsonKey​(java.lang.String p_151380_1_)  
      void setFilenameAndFlush​(java.lang.String p_151381_1_)  
      • Methods inherited from class java.lang.Throwable

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • message

        private final java.lang.String message
    • Constructor Detail

      • JSONException

        public JSONException​(java.lang.String p_i45279_1_)
      • JSONException

        public JSONException​(java.lang.String p_i45280_1_,
                             java.lang.Throwable p_i45280_2_)
    • Method Detail

      • prependJsonKey

        public void prependJsonKey​(java.lang.String p_151380_1_)
      • setFilenameAndFlush

        public void setFilenameAndFlush​(java.lang.String p_151381_1_)
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • forException

        public static JSONException forException​(java.lang.Exception p_151379_0_)