public static final Object deserialize ( byte [ ] bytes ) throws Exception { final boolean trace = TraceComponent . isAnyTracingEnabled ( ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "deserialize" ) ; Object o ; try { ByteArrayInputStream bis = new ByteArrayInputStream ( bytes ) ; ObjectInputStream oin = new ObjectInputStream ( bis ) ; o = oin . readObject ( ) ; oin . close ( ) ; } catch ( IOException e ) { FFDCFilter . processException ( e , ConnectorService . class . getName ( ) , "151" ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "deserialize" , new Object [ ] { toString ( bytes ) , e } ) ; throw e ; } if ( trace && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "deserialize" , o == null ? null : o . getClass ( ) ) ; return o ; }
Deserialize from an array of bytes .