question: public static NetworkInfo fromVersion ( final byte version ) { for ( final NetworkInfo info : KNOWN_NETWORKS ) { if ( version == info . getVersion ( ) ) { return info ; } } throw new IllegalArgumentException ( String . format ( "Invalid version '%d' is not a known network version" , version ) ) ; }
target:  Gets the network info from the version.