Code example for MalformedURLException

Methods: getMessage

0
url = new URL(urlPath);
	  }  
		catch (MalformedURLException e) 
	  { 
		logger.error("Loading the http android wrapper failed : "+e.getMessage(),e);
		return false; 
	  } 
       
	  inputRate = this.addressBean.getPredicateValue( "rate" );
      if ( inputRate == null || inputRate.trim( ).length( ) == 0 ) rate = DEFAULT_RATE;
      else 
         rate = Integer.parseInt( inputRate );
      setName( "HttpAndroidReceiver-Thread" + ( ++threadCounter ) );
      if ( logger.isDebugEnabled( ) ) logger.debug( "AndroidWrapper is now running @" + rate + " Rate." );
      return true; 
   } 
    
   public void run ( ) { 
    
      while ( isActive( ) ) {