| 
||||||||||
| 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 | |
|---|---|
 String | 
convertGlobalErrorCode(String errorCode,
                       Class clazz)
Converts the given global error code associated with the given class to another error code.  | 
 String | 
convertPropertyErrorCode(String errorCode,
                         Class clazz,
                         String propertyName)
Converts the given property error code that is associated with the given class and property to another error code.  | 
| Method Detail | 
|---|
String convertGlobalErrorCode(String errorCode,
                              Class clazz)
errorCode - The global error code to convert.clazz - The class that the given error code is associated with.
String convertPropertyErrorCode(String errorCode,
                                Class clazz,
                                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 | |||||||||