public static double METHOD_1 ( double n ) { if ( n < 0 ) throw new TYPE_1 ( ) ; else { return TYPE_2 . METHOD_2 ( n , 1 ) ; } } 

public static double METHOD_1 ( double n ) { if ( n < 0 ) throw new TYPE_1 ( ) ; else if ( n == 0 ) return 0 ; else { return TYPE_2 . METHOD_2 ( n , 1 ) ; } } 
