private String getObjectInfoFromSerializedObject ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "getObjectInfoFromSerializedObject" ) ; String oscDesc ; byte [ ] data = new byte [ 0 ] ; try { data = objMsg . getSerializedObject ( ) ; oscDesc = SerializedObjectInfoHelper . getObjectInfo ( data ) ; } catch ( ObjectFailedToSerializeException e ) { oscDesc = String . format ( "unserializable class: %s" , e . getExceptionInserts ( ) [ 0 ] ) ; } final String result = String . format ( "%s: %d%n%s: %s" , HEADER_PAYLOAD_SIZE , data . length , HEADER_PAYLOAD_OBJ , oscDesc ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "getObjectInfoFromSerializedObject" , result ) ; return result ; }
Gets a description of the class for the object payload from the serialized data .