com.softwareag.centrasite.appl.framework.validation.impl
Interface DynamicErrorCode

All Superinterfaces:
ErrorCode
All Known Implementing Classes:
AbstractDynamicErrorCode

public interface DynamicErrorCode
extends ErrorCode

A dynamic error code is basically a factory for error codes. It is created as part of the Validatable constraint, but requires context to create the necessary textual representation of the error code.


Method Summary
 ErrorCode getErrorCode(Constraint.Context pContext, java.lang.Object pSource)
          Returns a static error code, which
 

Method Detail

getErrorCode

ErrorCode getErrorCode(Constraint.Context pContext,
                       java.lang.Object pSource)
                       throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Returns a static error code, which

Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException