public String extractString ( Object val ) { try { return ( String ) val ; } catch ( ClassCastException cce ) { logException ( cce ) ; return null ; } }
Extracts a String from a result consisting entirely of a String .