Class ReflectiveConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.cryptomorin.xseries.reflection.constraint.ReflectiveConstraintException
- All Implemented Interfaces:
Serializable
Thrown when a
ReflectiveConstraint.appliesTo(ReflectiveHandle, Object)
returns Optional.empty() or false.- Since:
- 12.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreate(ReflectiveConstraint constraint, ReflectiveConstraint.Result result, ReflectiveHandle<?> handle, Object jvm) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getConstraint
-
getResult
-
create
public static ReflectiveConstraintException create(ReflectiveConstraint constraint, ReflectiveConstraint.Result result, ReflectiveHandle<?> handle, Object jvm)
-