public interface IError extends IHasErrorID, IErrorBase<IError>
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorFieldName() |
String |
getErrorText() |
default IResourceLocation |
getResourceLocation() |
default boolean |
hasErrorFieldName() |
default boolean |
hasErrorFieldName(String sErrorFieldName)
Check if this error has the passed error field name,
|
default boolean |
hasNoErrorFieldName() |
getComparatorErrorID, getErrorID, hasErrorIDisEqualSevereThan, isError, isLessOrEqualSevereThan, isLessSevereThan, isMoreOrEqualSevereThan, isMoreSevereThan, isSuccessgetErrorLeveland, isFailure, orisNoError@Nullable String getErrorFieldName()
null.default boolean hasErrorFieldName()
true if a field name is present, false
otherwisedefault boolean hasNoErrorFieldName()
true if no field name is present, false
otherwisedefault boolean hasErrorFieldName(@Nullable String sErrorFieldName)
sErrorFieldName - The error field name to check. May be null.true if a field name is equal, false
otherwise@Nullable default IResourceLocation getResourceLocation()
IResourceLocation
. If no error field name is present, null is returned,
else an IResourceLocation with the field name set is
returned.Copyright © 2014–2016 Philip Helger. All rights reserved.