public static String getValidationError ( String code , Object ... msgValues ) { if ( ! _MESSAGES . containsKey ( code ) ) throw new RuntimeException ( "Unknown code: " + code ) ; return fillMessage ( _MESSAGES . get ( code ) , msgValues ) ; }
Returns the error message for the given error code