Package org.kuali.coeus.s2sgen.api.core
Class AuditError
java.lang.Object
org.kuali.coeus.s2sgen.api.core.AuditError
This is an error class that is used to capture an s2s error.
These errors are usually displayed to the end user.
These errors contain five parts:
1) an error key: which field or section was in error
2) a message key: a key to use to lookup a message to display to an end user
3) a link to place the error on
4) the level of the error
5) any error parameters that could be injected into the error message
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuditError(String errorKey, String messageKey, String link, String... errorParms) AuditError(String errorKey, String messageKey, String link, AuditError.Level level, String... errorParms) -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]getLevel()getLink()inthashCode()voidsetErrorKey(String errorKey) voidsetErrorParms(String[] errorParms) voidsetLevel(AuditError.Level level) voidvoidsetMessageKey(String messageKey) toString()
-
Field Details
-
NO_FIELD_ERROR_KEY
- See Also:
-
GG_LINK
- See Also:
-
-
Constructor Details
-
AuditError
public AuditError() -
AuditError
-
AuditError
public AuditError(String errorKey, String messageKey, String link, AuditError.Level level, String... errorParms)
-
-
Method Details