private void METHOD_1 ( TYPE_1 VAR_1 ) { try { VAR_1 . METHOD_2 ( ) ; } catch ( TYPE_2 VAR_2 ) { TYPE_3 . error ( ( STRING_1 + VAR_2 ) ) ; } }
private void METHOD_1 ( TYPE_1 VAR_1 ) { try { if ( VAR_1 != null ) { VAR_1 . METHOD_2 ( ) ; } } catch ( TYPE_2 VAR_2 ) { TYPE_3 . error ( ( STRING_1 + VAR_2 ) ) ; } }