public static String getMessage ( String code ) { String str = MESSAGE_MAP . get ( code ) ; if ( null == str ) { return "NO MESSAGE FOR ERROR CODE. { code=[" + code + "] }" ; } return str ; }
Gets the error message for the specified code .