Class BadAssociationFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.axoniq.framework.workflow.runtime.association.BadAssociationFormatException
- All Implemented Interfaces:
Serializable
Exception thrown when an association string is in the wrong format or uses unsupported operators.
- Since:
- 5.4.0
- Author:
- Simon Zambrovski
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionunsupportedOperator(Set<String> operators, String conditionString) Constructs the exception.unsupportedQualifier(Set<String> qualifiers, String conditionString) Constructs the exception for unsupported qualifiers.wrongFormat(String conditionString) Constructs the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
unsupportedOperator
public static BadAssociationFormatException unsupportedOperator(Set<String> operators, String conditionString) Constructs the exception.- Parameters:
operators- list of supported operators.conditionString- condition string that caused the exception.- Returns:
- bad association format exception.
-
wrongFormat
Constructs the exception.- Parameters:
conditionString- condition string that caused the exception.- Returns:
- bad association format exception.
-
unsupportedQualifier
public static BadAssociationFormatException unsupportedQualifier(Set<String> qualifiers, String conditionString) Constructs the exception for unsupported qualifiers.- Parameters:
qualifiers- supported qualifiersconditionString- condition string that caused the exception- Returns:
- bad association format exception
-