/** * Constructor for InvalidTagAttributeValueException. * * @param source Class where the exception is generated * @param attributeName String attribute name * @param attributeValue attribute value (invalid) */ public InvalidTagAttributeValueException( Class source, String attributeName, Object attributeValue) { super( source, Messages.getString( "InvalidTagAttributeValueException.msg", //$NON-NLS-1$ new Object[] {attributeName, attributeValue})); }
/** @see org.displaytag.util.RequestHelper#getIntParameter(java.lang.String) */ public Integer getIntParameter(String key) { String value = this.request.getParameter(key); if (value != null) { try { return new Integer(value); } catch (NumberFormatException e) { // It's ok to ignore, simply return null log.debug( Messages.getString( "RequestHelper.invalidparameter", //$NON-NLS-1$ new Object[] {key, value})); } } return null; }