public Object get ( Object obj , String propertyName ) { try { if ( obj != null && propertyName != null ) { return PropertyUtils . getNestedProperty ( obj , propertyName ) ; } } catch ( NullPointerException e ) { } catch ( NestedNullException e ) { } catch ( Exception e ) { // Now I don't like it. error ( e ) ; return "-undefined-" ; } return null ; }
Getter for an object property value