Package com.rubensgomes.base.reqresp
Class Error.ErrorBuilderBase<T extends Error>
java.lang.Object
com.rubensgomes.base.reqresp.Error.ErrorBuilderBase<T>
- Direct Known Subclasses:
Error.ErrorBuilder
- Enclosing class:
- Error
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionErrorBuilderBase(String errorMessage, Integer errorCode, String errorDescription, String errorNativeMessage) -
Method Summary
Modifier and TypeMethodDescriptionbuild()withAdditionalProperty(String name, Object value) withErrorCode(Integer errorCode) withErrorDescription(String errorDescription) withErrorMessage(String errorMessage) withErrorNativeMessage(String errorNativeMessage)
-
Field Details
-
instance
-
-
Constructor Details
-
ErrorBuilderBase
public ErrorBuilderBase() -
ErrorBuilderBase
-
-
Method Details
-
build
-
withErrorMessage
-
withErrorCode
-
withErrorDescription
-
withErrorNativeMessage
-
withAdditionalProperty
-