Interface ProcessingExceptionIntermediate<T extends ProcessingMessageBuilderMethods<T>>

All Superinterfaces:
ProcessingMessageBuilderMethods<T>
All Known Subinterfaces:
ProcessingExceptionBuilder
All Known Implementing Classes:
ProcessingException, ProcessingExceptionNoopBuilder, ProcessingExceptionOptionalBuilder

public interface ProcessingExceptionIntermediate<T extends ProcessingMessageBuilderMethods<T>> extends ProcessingMessageBuilderMethods<T>
  • Method Details

    • withLogLevel

      @NotNull T withLogLevel(@NotNull @NotNull LogLevel logLevel)
      Specify log level of exception.
      Parameters:
      logLevel - The log level you want to use.
      Returns:
      An instance of object ProcessingExceptionIntermediate.
    • withStatus

      @NotNull T withStatus(@NotNull @NotNull Status status)
      Specify the response status of an exception that can be used for system inter-communication.
      Parameters:
      status - Status associated with this exception.
      Returns:
      An instance of object ProcessingExceptionIntermediate.