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:
java.io.Serializable
- Enclosing class:
- MethodKey
public static class MethodKey.AmbiguousException extends java.lang.RuntimeException
Simple distinguishable exception, used when we run across ambiguous overloading. Caught by the introspector.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Version identifier for serializable.private boolean
severe
Whether this exception should be considered severe.
-
Constructor Summary
Constructors Constructor Description AmbiguousException(boolean flag)
A severe or not ambiguous exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSevere()
Whether this exception is considered severe or benign.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Version identifier for serializable.- See Also:
- Constant Field Values
-
severe
private final boolean severe
Whether this exception should be considered severe.
-
-
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.
-
-