Package com.helger.commons.error
Interface IHasErrorID
- All Known Subinterfaces:
IError
- All Known Implementing Classes:
SingleError
public interface IHasErrorID
Interface for objects having an error ID
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic Comparator<IHasErrorID> default booleandefault booleanhasErrorID(String sErrorID) Check if this error has the passed error ID.default boolean
-
Method Details
-
getErrorID
- Returns:
- The error ID. May be
null.
-
hasErrorID
default boolean hasErrorID()- Returns:
trueif an error ID is present,falseotherwise- See Also:
-
hasNoErrorID
default boolean hasNoErrorID()- Returns:
trueif no error ID is present,falseotherwise- See Also:
-
hasErrorID
Check if this error has the passed error ID.- Parameters:
sErrorID- The error ID to check. May be null.- Returns:
trueif the error ID is equal,falseotherwise- Since:
- 8.5.0
-
getComparatorErrorID
-