java.lang.Object
io.camunda.zeebe.engine.processing.common.Failure

public final class Failure extends Object
Simple String wrapper for when something fails and a message needs to be used.
  • Constructor Details

    • Failure

      public Failure(String message)
    • Failure

      public Failure(String message, ErrorType errorType)
    • Failure

      public Failure(String message, ErrorType errorType, long variableScopeKey)
  • Method Details

    • getMessage

      public String getMessage()
    • getErrorType

      public ErrorType getErrorType()
    • getVariableScopeKey

      public long getVariableScopeKey()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object