Class InvalidJsonValueException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidJsonValueException
    extends PrintException
    Thrown when an attribute has an invalid value in the spec.
    See Also:
    Serialized Form
    • Method Summary

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

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

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

      • InvalidJsonValueException

        public InvalidJsonValueException​(PElement element,
                                         java.lang.String key,
                                         java.lang.Object value)
        Constructor.
        Parameters:
        element - element that was queried
        key - key that was desired
        value - the illegal value obtained.
      • InvalidJsonValueException

        public InvalidJsonValueException​(PElement element,
                                         java.lang.String key,
                                         java.lang.Object value,
                                         java.lang.Throwable e)
        Constructor.
        Parameters:
        element - element that was queried
        key - key that was desired
        value - the illegal value obtained.
        e - the exception to wrap by this exception
    • Method Detail

      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable