Package church.i18n.processing.exception
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 Summary
Modifier and TypeMethodDescriptionwithLogLevel(@NotNull LogLevel logLevel) Specify log level of exception.withStatus(@NotNull Status status) Specify the response status of an exception that can be used for system inter-communication.Methods inherited from interface church.i18n.processing.message.ProcessingMessageBuilderMethods
addContextInfo, addContextInfo, withHelpUri, withHelpUri, withMessageType, withSecurityLevel
-
Method Details
-
withLogLevel
Specify log level of exception.- Parameters:
logLevel- The log level you want to use.- Returns:
- An instance of object
ProcessingExceptionIntermediate.
-
withStatus
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.
-