private static void METHOD_1 ( java.lang.String type ) throws TYPE_1 { if ( type == null ) { throw new java.lang.NullPointerException ( STRING_1 ) ; } else if ( TYPE_2 . METHOD_2 ( type ) ) { throw new TYPE_1 ( STRING_2 ) ; } } 

private static void METHOD_1 ( java.lang.String type ) throws TYPE_1 { if ( type == null ) { throw new java.lang.NullPointerException ( STRING_1 ) ; } else if ( ! ( TYPE_2 . METHOD_2 ( type ) ) ) { throw new TYPE_1 ( STRING_2 ) ; } } 
