Class InvalidJsonException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String json
      Problematic JSON if available.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getJson()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

      • json

        private final java.lang.String json
        Problematic JSON if available.
    • Constructor Detail

      • InvalidJsonException

        public InvalidJsonException()
      • InvalidJsonException

        public InvalidJsonException​(java.lang.String message)
      • InvalidJsonException

        public InvalidJsonException​(java.lang.String message,
                                    java.lang.Throwable cause)
      • InvalidJsonException

        public InvalidJsonException​(java.lang.Throwable cause)
      • InvalidJsonException

        public InvalidJsonException​(java.lang.Throwable cause,
                                    java.lang.String json)
        Rethrow the exception with the problematic JSON captured.
    • Method Detail

      • getJson

        public java.lang.String getJson()
        Returns:
        the problematic JSON if available.