Module org.refcodes.exception
Package org.refcodes.exception
Interface ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- ErrorCodeAccessor
public static interface ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>
Provides a builder method for a error code property returning the builder
for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithErrorCode
(String aErrorCode) Sets the error code for the error code property.
-
Method Details
-
withErrorCode
Sets the error code for the error code property.- Parameters:
aErrorCode
- The error code to be stored by the error code property.- Returns:
- The builder for applying multiple build operations.
-