Package io.jmix.masquerade.condition
Class UnsupportedConditionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
io.jmix.masquerade.condition.UnsupportedConditionException
- All Implemented Interfaces:
Serializable
Thrown to indicate that the
SpecificCondition
is not supported
for the passed SpecificConditionHandler
.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected SpecificConditionHandler
protected SpecificCondition
-
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedConditionException
(SpecificCondition specificCondition, SpecificConditionHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
EXCEPTION_MESSAGE
- See Also:
-
specificCondition
-
handler
-
-
Constructor Details
-
UnsupportedConditionException
public UnsupportedConditionException(SpecificCondition specificCondition, SpecificConditionHandler handler)
-
-
Method Details
-
getSpecificCondition
- Returns:
SpecificCondition
that was tried to be checked
-
getHandler
- Returns:
SpecificConditionHandler
which checks the condition
-