Package com.helger.schematron.svrl
Class SVRLResourceError
java.lang.Object
com.helger.commons.error.SingleError
com.helger.schematron.svrl.SVRLResourceError
- All Implemented Interfaces:
com.helger.commons.error.IError,com.helger.commons.error.IHasErrorField,com.helger.commons.error.IHasErrorID,com.helger.commons.error.level.IHasErrorLevel,com.helger.commons.error.level.IHasErrorLevelComparable<com.helger.commons.error.IError>,com.helger.commons.severity.ISeverityComparable<com.helger.commons.error.IError>,com.helger.commons.state.IErrorIndicator,com.helger.commons.state.ISuccessIndicator,com.helger.commons.traits.IGenericImplTrait<com.helger.commons.error.IError>
public class SVRLResourceError
extends com.helger.commons.error.SingleError
Special SVRL resource error that contains the Schematron "test" as
well.
- Author:
- Philip Helger
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.helger.commons.error.SingleError
com.helger.commons.error.SingleError.AbstractBuilder<ERRTYPE extends com.helger.commons.error.SingleError,IMPLTYPE extends com.helger.commons.error.SingleError.AbstractBuilder<ERRTYPE, IMPLTYPE>>, com.helger.commons.error.SingleError.Builder -
Constructor Summary
ConstructorsConstructorDescriptionSVRLResourceError(LocalDateTime aErrorDT, com.helger.commons.error.level.IErrorLevel aErrorLevel, String sErrorID, String sErrorFieldName, com.helger.commons.location.ILocation aErrorLocation, com.helger.commons.error.text.IHasErrorText aErrorText, Throwable aLinkedException, String sTest) Constructor. -
Method Summary
Methods inherited from class com.helger.commons.error.SingleError
builder, builder, builderError, builderFatalError, builderInfo, builderSuccess, builderWarn, equalsLinkedException, getErrorDateTime, getErrorFieldName, getErrorID, getErrorLevel, getErrorLocation, getErrorTexts, getLinkedException, hashCodeLinkedExceptionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.error.IError
getAsStringLocaleIndepdent, getErrorText, getLinkedExceptionCause, getLinkedExceptionMessage, getLinkedExceptionStackTrace, hasErrorDateTime, hasErrorLocation, hasLinkedExceptionMethods inherited from interface com.helger.commons.traits.IGenericImplTrait
thisAsTMethods inherited from interface com.helger.commons.error.IHasErrorField
hasErrorFieldName, hasErrorFieldName, hasNoErrorFieldNameMethods inherited from interface com.helger.commons.error.IHasErrorID
hasErrorID, hasErrorID, hasNoErrorIDMethods inherited from interface com.helger.commons.error.level.IHasErrorLevel
hasErrorLevel, isError, isFailure, isNoError, isSuccessMethods inherited from interface com.helger.commons.error.level.IHasErrorLevelComparable
compareTo, isEQ, isGE, isGT, isLE, isLT, isNEMethods inherited from interface com.helger.commons.state.ISuccessIndicator
and, or
-
Constructor Details
-
SVRLResourceError
public SVRLResourceError(@Nullable LocalDateTime aErrorDT, @Nonnull com.helger.commons.error.level.IErrorLevel aErrorLevel, @Nullable String sErrorID, @Nullable String sErrorFieldName, @Nullable com.helger.commons.location.ILocation aErrorLocation, @Nullable com.helger.commons.error.text.IHasErrorText aErrorText, @Nullable Throwable aLinkedException, @Nonnull String sTest) Constructor.- Parameters:
aErrorDT- Error date timeaErrorLevel- The error level. May not benull.sErrorID- Error ID. May benull.sErrorFieldName- Error field name. May benull.aErrorLocation- Location where the error occurred. May benull.aErrorText- The error text. May benull.aLinkedException- An exception that caused the error. May benull.sTest- The SVRL test that triggered this error. May not benull.
-
-
Method Details
-
getTest
- Returns:
- The SVRL test that triggered this error.
-
getAsString
-
equals
- Overrides:
equalsin classcom.helger.commons.error.SingleError
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.helger.commons.error.SingleError
-
toString
- Overrides:
toStringin classcom.helger.commons.error.SingleError
-