public Object getAttributeValue ( ObjectIdentifier oid ) throws IOException { try { Object value = getAttribute ( oid ) . getValue ( ) ; return value ; } catch ( NullPointerException ex ) { throw new IOException ( "No value found for attribute " + oid ) ; } }
Get an attribute value by OID .