Package com.helger.phase4.model.error
Class EbmsError
java.lang.Object
com.helger.phase4.model.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(@NonNull String sErrorCode, @NonNull EEbmsErrorSeverity eSeverity, @NonNull String sShortDescription, @NonNull com.helger.text.display.IHasDisplayText aDescription, @NonNull EEbmsErrorCategory eCategory) -
Method Summary
Modifier and TypeMethodDescription@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.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.phase4.model.error.IEbmsError
errorBuilder
-
Constructor Details
-
EbmsError
public EbmsError(@NonNull String sErrorCode, @NonNull EEbmsErrorSeverity eSeverity, @NonNull String sShortDescription, @NonNull com.helger.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
public @NonNull com.helger.text.display.IHasDisplayText 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
-