Class ParsingException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ParsingException.ParsingStacklessException

    public class ParsingException
    extends java.io.IOException
    DSL-JSON specific exception thrown when DSL-JSON is unable to parse provided JSON. Most of the time this is due to invalid JSON. Sometimes if its "valid" JSON it can be due to "unexpected" JSON.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ParsingException​(java.lang.String reason)  
      private ParsingException​(java.lang.String reason, java.lang.Throwable cause)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ParsingException create​(java.lang.String reason, boolean withStackTrace)  
      static ParsingException create​(java.lang.String reason, java.lang.Throwable cause, boolean withStackTrace)  
      • 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
    • Constructor Detail

      • ParsingException

        private ParsingException​(java.lang.String reason)
      • ParsingException

        private ParsingException​(java.lang.String reason,
                                 java.lang.Throwable cause)
    • Method Detail

      • create

        public static ParsingException create​(java.lang.String reason,
                                              boolean withStackTrace)
      • create

        public static ParsingException create​(java.lang.String reason,
                                              java.lang.Throwable cause,
                                              boolean withStackTrace)