Package com.helger.phase4.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 Ebms3ErrorgetAsEbms3Error(Locale aContentLocale, String sRefToMessageInError) default Ebms3ErrorgetAsEbms3Error(Locale aContentLocale, String sRefToMessageInError, String sErrorDescription) default Ebms3ErrorgetAsEbms3Error(Locale aContentLocale, String sRefToMessageInError, String sOrigin, Ebms3Description aEbmsDescription) default Ebms3ErrorgetAsEbms3Error(Locale aContentLocale, String sRefToMessageInError, String sOrigin, String sErrorDescription) default com.helger.commons.error.IErrorgetAsError(Locale aContentLocale) Gets the value of the category property.Gets the value of the errorCode property.com.helger.commons.text.display.IHasDisplayTextGets the value of the errorDetail property.Gets the value of the severity property.Gets the value of the shortDescription property.
-
Method Details
-
getErrorCode
Gets the value of the errorCode property.- Returns:
- possible object is
String
-
getSeverity
Gets the value of the severity property.- Returns:
- possible object is
String
-
getShortDescription
Gets the value of the shortDescription property.- Returns:
- possible object is
String
-
getErrorDetail
Gets the value of the errorDetail property.- Returns:
- possible object is
String
-
getCategory
Gets the value of the category property.- Returns:
- possible object is
EEbmsErrorCategory
-
getAsError
-
getAsEbms3Error
-
getAsEbms3Error
-
getAsEbms3Error
-
getAsEbms3Error
@Nonnull default Ebms3Error getAsEbms3Error(@Nonnull Locale aContentLocale, @Nullable String sRefToMessageInError, @Nullable String sOrigin, @Nullable Ebms3Description aEbmsDescription)
-