public Object extractFieldValue ( final Object instance , final Field field ) { JBBPUtils . assertNotNull ( field , "Field must not be null" ) ; try { return ReflectUtils . makeAccessible ( field ) . get ( instance ) ; } catch ( Exception ex ) { throw new JBBPException ( "Can't extract value from field for exception" , ex ) ; } }
Auxiliary method to extract field value .