Class ExprFormatException

  • All Implemented Interfaces:

    public class ExprFormatException
    extends java.lang.Exception
    ExprFormatException is the exception thrown by the "asXXX()" methods of the Expr class (e.g., asInt(), asDouble(), asArray(), etc.) These methods attempt to return a native Java representation of the Expr's contents, and if this cannot be done because the Expr cannot be represented in the requested form, an ExprFormatException is thrown. For example, if you called asArray() on an Expr that held a String.
    See Also:
    Expr, Serialized Form
    • Constructor Summary

      Constructor Description
      ExprFormatException​(java.lang.String msg)  
    • Method Summary

      • 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

      • ExprFormatException

        public ExprFormatException​(java.lang.String msg)