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 aErrorDetail, EEbmsErrorCategory eCategory) -
Method Summary
Modifier and TypeMethodDescriptionGets 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.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
getAsEbms3Error, getAsEbms3Error, getAsEbms3Error, getAsEbms3Error, getAsError
-
Constructor Details
-
EbmsError
public EbmsError(@Nonnull String sErrorCode, @Nonnull EEbmsErrorSeverity eSeverity, @Nonnull String sShortDescription, @Nonnull com.helger.commons.text.display.IHasDisplayText aErrorDetail, @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:
- possible object is
String
-
getErrorDetail
Description copied from interface:IEbmsErrorGets the value of the errorDetail property.- Specified by:
getErrorDetailin interfaceIEbmsError- Returns:
- possible object is
String
-
getCategory
Description copied from interface:IEbmsErrorGets the value of the category property.- Specified by:
getCategoryin interfaceIEbmsError- Returns:
- possible object is
EEbmsErrorCategory
-
toString
-