src/net/java/sip/communicator/util/PortTracker.java
/**
     * Attempts to set the range specified by the min and max port string
     * params. If the attempt fails, for reasons such as invalid porameters,
     * this method will simply return without an exception and without an impact
     * on the state of this class.
     *
     * @param newMinPort the minimum port that we would like to bind on
     * @param newMaxPort the maximum port that we would like to bind on
     */
Attempts to set the range specified by the min and max port string
params. If the attempt fails, for reasons such as invalid porameters,
this method will simply return without an exception and without an impact
on the state of this class.

@param newMinPort the minimum port that we would like to bind on
@param newMaxPort the maximum port that we would like to bind on
Attempts to set the range specified by the min and max port string params . If the attempt fails for reasons such as invalid porameters this method will simply return without an exception and without an impact on the state of this class . @param newMinPort the minimum port that we would like to bind on @param newMaxPort the maximum port that we would like to bind on
public void tryRange(String newMinPort, String newMaxPort)
    {
        try
        {
            setRange(
                    Integer.parseInt(newMinPort),
                    Integer.parseInt(newMaxPort));
        }
        catch(Exception e)
        {
            logger.info(
                    "Ignoring invalid port range [" + newMinPort + ", "
                        + newMaxPort + "]");
            if (logger.isDebugEnabled())
                logger.debug("Cause: ", e);
        }
    }
public void tryRange ( String newMinPort , String newMaxPort ) { try { setRange ( Integer . parseInt ( newMinPort ) , Integer . parseInt ( newMaxPort ) ) ; } catch ( Exception e ) { logger . info ( "Ignoring invalid port range [" + newMinPort + ", " + newMaxPort + "]" ) ; if ( logger . isDebugEnabled ( ) ) logger . debug ( "Cause: " , e ) ; } }
Attempts to set the range specified by the min and max port string
 params.
Attempts to set the range specified by the min and max port string params .
//Null, NumberFormat, IllegalArgument