bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/Localizer.java
public static String getMessage(String errCode, Object[] args) {
	String errMsg = errCode;
	try {
	    errMsg = bundle.getString(errCode);
	    if (args != null) {
		MessageFormat formatter = new MessageFormat(errMsg);
		errMsg = formatter.format(args);
	    }
	} catch (MissingResourceException e) {
	}
	
	return errMsg;
    }
public static String getMessage(String errCode, Object[] args) {
	String errMsg = errCode;
	try {
	    errMsg = bundle.getString(errCode);
	    if (args != null) {
		MessageFormat formatter = new MessageFormat(errMsg);
		errMsg = formatter.format(args);
	    }
	} catch (MissingResourceException e) {
	}
	
	return errMsg;
    }
/*
Returns the localized error message corresponding to the given error
code.

If the given error code is not defined in the resource bundle for
localized error messages, it is used as the error message.

@param errCode Error code to localize
@param args Arguments for parametric replacement

@return Localized error message