Package jsonvalues

Class UserError

  • All Implemented Interfaces:
    java.io.Serializable

    public final class UserError
    extends java.lang.RuntimeException
    Exception that models a programming error made by the user. The user has a bug in their code and something has to be fixed. Part of the exception message is a suggestion to fix the bug.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static UserError pathHeadIsNotAKey​(JsPath path)  
      static UserError pathHeadIsNotAnIndex​(JsPath path)  
      • 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
    • Method Detail

      • pathHeadIsNotAnIndex

        public static UserError pathHeadIsNotAnIndex​(JsPath path)
      • pathHeadIsNotAKey

        public static UserError pathHeadIsNotAKey​(JsPath path)