com.softwareag.centrasite.appl.framework.validation
Interface Constraint.Listener
- Enclosing interface:
- Constraint
public static interface Constraint.Listener
The constraints listener
is called, if the constraint
detects that its violated.
Method Summary |
void |
error(Constraint.Context pContext,
java.lang.Object pSource,
ErrorCode pCode,
java.lang.String pErrorMessage,
java.lang.Object... pDetails)
Called, if a component violates a constraint. |
error
void error(Constraint.Context pContext,
java.lang.Object pSource,
ErrorCode pCode,
java.lang.String pErrorMessage,
java.lang.Object... pDetails)
throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
- Called, if a component violates a constraint.
- Parameters:
pSource
- The object, on which an error was detected.pCode
- The error code.pErrorMessage
- The error message. May be a format string.pDetails
- The error details. If the error message is a
format string, then you must use a Formatter
to create
the human readable message.
- Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException