org.apache.commons.jexl3.internal.introspection

## 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:
    Serialized Form

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isSevere()` Whether this exception is considered severe or benign.

    - ### 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

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### 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.

Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.