public Object get ( Object obj ) throws ReflectionException { try { if ( isPublic ( readMethod ) ) { return readMethod . invoke ( obj ) ; } else { throw new ReflectionException ( "Cannot get the value of " + this + ", as it is write-only." ) ; } } catch ( Exception e ) { throw new ReflectionException ( "Cannot get the value of " + this + " in object " + obj , e ) ; } }
Returns the value of the representation of this property from the specified object .