public static boolean METHOD_1 ( TYPE_1 VAR_1 ) { try { VAR_1 . METHOD_2 ( ) ; } catch ( TYPE_2 VAR_2 ) { return false ; } return true ; }
public static boolean METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_1 == null ) return false ; try { VAR_1 . METHOD_2 ( ) ; } catch ( TYPE_2 VAR_2 ) { return false ; } return true ; }