|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ErrorCodeConverter
A strategy to convert one error code to another.
| Method Summary | |
|---|---|
java.lang.String |
convertGlobalErrorCode(java.lang.String errorCode,
java.lang.Class clazz)
Converts the given global error code associated with the given class to another error code. |
java.lang.String |
convertPropertyErrorCode(java.lang.String errorCode,
java.lang.Class clazz,
java.lang.String propertyName)
Converts the given property error code that is associated with the given class and property to another error code. |
| Method Detail |
|---|
java.lang.String convertGlobalErrorCode(java.lang.String errorCode,
java.lang.Class clazz)
errorCode - The global error code to convert.clazz - The class that the given error code is associated with.
java.lang.String convertPropertyErrorCode(java.lang.String errorCode,
java.lang.Class clazz,
java.lang.String propertyName)
errorCode - The property error code to convert.clazz - The class that is associated with the given error code.propertyName - The property that is associated with the given error code.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||