Interface ThrowErrorCommandStep1.ThrowErrorCommandStep2

All Superinterfaces:
FinalCommandStep<Void>
All Known Implementing Classes:
ThrowErrorCommandImpl
Enclosing interface:
ThrowErrorCommandStep1

public static interface ThrowErrorCommandStep1.ThrowErrorCommandStep2 extends FinalCommandStep<Void>
  • Method Details

    • errorMessage

      Provide an error message describing the reason for the non-technical error. If the error is not caught by an error catch event, this message will be a part of the raised incident.
      Parameters:
      errorMsg - error message
      Returns:
      the builder for this command. Call FinalCommandStep.send() to complete the command and send it to the broker.