Package com.helger.phase4.model.error
Interface IEbmsError
- All Known Implementing Classes:
EbmsError,EEbmsError
public interface IEbmsError
Base interface for a single EBMS error
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NonNull Ebms3ErrorBuildererrorBuilder(@NonNull Locale aContentLocale) Create a newEbms3ErrorBuilderwith the information of this element.@NonNull EEbmsErrorCategoryGets the value of the category property.@NonNull com.helger.text.display.IHasDisplayTextGets the value of the description property.@NonNull StringGets the value of the errorCode property.@NonNull EEbmsErrorSeverityGets the value of the severity property.@NonNull StringGets the value of the shortDescription property.
-
Method Details
-
getErrorCode
@NonNull String getErrorCode()Gets the value of the errorCode property.- Returns:
- possible object is
String
-
getSeverity
@NonNull EEbmsErrorSeverity getSeverity()Gets the value of the severity property.- Returns:
- possible object is
String
-
getShortDescription
@NonNull String getShortDescription()Gets the value of the shortDescription property.- Returns:
- Short description. Never
null.
-
getDescription
@NonNull com.helger.text.display.IHasDisplayText getDescription()Gets the value of the description property.- Returns:
- The multilingual description.
- Since:
- 2.6.0
-
getCategory
@NonNull EEbmsErrorCategory getCategory()Gets the value of the category property.- Returns:
- possible object is
EEbmsErrorCategory
-
errorBuilder
Create a newEbms3ErrorBuilderwith the information of this element. Sets description, category, errorCode, severity and shortDescription.- Parameters:
aContentLocale- Content locale to use. May not benull.- Returns:
- Never
null. - Since:
- 2.6.0
-