Class MethodKey.AmbiguousException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.jexl3.internal.introspection.MethodKey.AmbiguousException
All Implemented Interfaces:
Serializable
Enclosing class:
MethodKey

public static class MethodKey.AmbiguousException extends RuntimeException
Simple distinguishable exception, used when we run across ambiguous overloading. Caught by the introspector.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Version identifier for serializable.
      See Also:
    • severe

      private final boolean severe
      Whether this exception should be considered severe.
  • Constructor Details

    • AmbiguousException

      AmbiguousException(boolean flag)
      A severe or not ambiguous exception.
      Parameters:
      flag - logging flag
  • Method Details

    • isSevere

      public boolean isSevere()
      Whether this exception is considered severe or benign.

      Note that this is meant in the context of an ambiguous exception; benign cases can only be triggered by null arguments often related to runtime problems (not simply on overload signatures).

      Returns:
      true if severe, false if benign.