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

public class BadAssociationFormatException extends RuntimeException
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 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

      public static BadAssociationFormatException wrongFormat(String conditionString)
      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 qualifiers
      conditionString - condition string that caused the exception
      Returns:
      bad association format exception