Package com.helger.phase4.error
Class EbmsError
java.lang.Object
com.helger.phase4.error.EbmsError
- All Implemented Interfaces:
IEbmsError
Generic implementation of
IEbmsError to represent other errors
besides EEbmsError.- Since:
- 0.13.1
- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionEbmsError(String sErrorCode, EEbmsErrorSeverity eSeverity, String sShortDescription, com.helger.commons.text.display.IHasDisplayText aDescription, EEbmsErrorCategory eCategory) -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the category property.com.helger.commons.text.display.IHasDisplayTextGets the value of the description property.Gets the value of the errorCode property.Gets the value of the severity property.Gets the value of the shortDescription property.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.phase4.error.IEbmsError
errorBuilder, getAsEbms3Error, getAsEbms3Error, getAsEbms3Error, getAsEbms3Error, getAsError, getErrorDetail
-
Constructor Details
-
EbmsError
public EbmsError(@Nonnull String sErrorCode, @Nonnull EEbmsErrorSeverity eSeverity, @Nonnull String sShortDescription, @Nonnull com.helger.commons.text.display.IHasDisplayText aDescription, @Nonnull EEbmsErrorCategory eCategory)
-
-
Method Details
-
getErrorCode
Description copied from interface:IEbmsErrorGets the value of the errorCode property.- Specified by:
getErrorCodein interfaceIEbmsError- Returns:
- possible object is
String
-
getSeverity
Description copied from interface:IEbmsErrorGets the value of the severity property.- Specified by:
getSeverityin interfaceIEbmsError- Returns:
- possible object is
String
-
getShortDescription
Description copied from interface:IEbmsErrorGets the value of the shortDescription property.- Specified by:
getShortDescriptionin interfaceIEbmsError- Returns:
- Short description. Never
null.
-
getDescription
Description copied from interface:IEbmsErrorGets the value of the description property.- Specified by:
getDescriptionin interfaceIEbmsError- Returns:
- The multilingual description.
-
getCategory
Description copied from interface:IEbmsErrorGets the value of the category property.- Specified by:
getCategoryin interfaceIEbmsError- Returns:
- possible object is
EEbmsErrorCategory
-
toString
-