@Test( expected = InitializeException.class ) public void testCreateUrl_missing2() { try { this.p.put( Configuration.URL, "" ); Configuration._createUrl( this.p ); } catch ( InitializeException ex ) { assertEquals( "url is not filled but required", ex.getMessage() ); throw ex; } }
protected static URL _createUrl( final Properties p ) throws InitializeException { logger.traceEntry(); URL url = _createUrlNotRequired( p ); if ( url == null ) { throw new InitializeException( "url is not filled but required" ); } logger.debug( "URL: {}", url ); return url; }
Configuration { protected static URL _createUrl( final Properties p ) throws InitializeException { logger.traceEntry(); URL url = _createUrlNotRequired( p ); if ( url == null ) { throw new InitializeException( "url is not filled but required" ); } logger.debug( "URL: {}", url ); return url; } }
Configuration { protected static URL _createUrl( final Properties p ) throws InitializeException { logger.traceEntry(); URL url = _createUrlNotRequired( p ); if ( url == null ) { throw new InitializeException( "url is not filled but required" ); } logger.debug( "URL: {}", url ); return url; } protected  Configuration(); protected  Configuration( final boolean isHeadless ); }
Configuration { protected static URL _createUrl( final Properties p ) throws InitializeException { logger.traceEntry(); URL url = _createUrlNotRequired( p ); if ( url == null ) { throw new InitializeException( "url is not filled but required" ); } logger.debug( "URL: {}", url ); return url; } protected  Configuration(); protected  Configuration( final boolean isHeadless ); @Override abstract String toString(); final boolean isHeadless(); }
Configuration { protected static URL _createUrl( final Properties p ) throws InitializeException { logger.traceEntry(); URL url = _createUrlNotRequired( p ); if ( url == null ) { throw new InitializeException( "url is not filled but required" ); } logger.debug( "URL: {}", url ); return url; } protected  Configuration(); protected  Configuration( final boolean isHeadless ); @Override abstract String toString(); final boolean isHeadless(); static final String URL; static final String PATTERN; static final String TIMEOUT; static final int TIMEOUT_DEFAULT; static final String JDFW; static final String PROXY; static final String HEADLESS; }