width = parseInt( w ); } catch ( NumberFormatException e ) { throw new OWSException( nan( "WIDTH", w ), OWSException.INVALID_PARAMETER_VALUE ); height = parseInt( h ); } catch ( NumberFormatException e ) { throw new OWSException( nan( "HEIGHT", h ), OWSException.INVALID_PARAMETER_VALUE ); opts.baseWidth = parseInt( w ); } catch ( NumberFormatException e ) { throw new OWSException( nan( "BASEWIDTH", w ), OWSException.INVALID_PARAMETER_VALUE ); opts.baseHeight = parseInt( h ); } catch ( NumberFormatException e ) { throw new OWSException( nan( "BASEHEIGHT", h ), OWSException.INVALID_PARAMETER_VALUE ); opts.textSize = parseInt( h ); } catch ( NumberFormatException e ) { throw new OWSException( nan( "TEXTSIZE", h ), OWSException.INVALID_PARAMETER_VALUE ); opts.spacing = parseInt( h ); } catch ( NumberFormatException e ) { throw new OWSException( nan( "SPACING", h ), OWSException.INVALID_PARAMETER_VALUE );