String getProperty ( String key ) { String value = properties . get ( key ) ; if ( value == null ) { throw new RuntimeException ( "No property value found for key " + key ) ; } return value ; }
Gets the value for the given key in the properties map . If the property is not found an exception is thrown .