118119120121122123124125126127128129130131
{ return 0; } try { final ByteCountingOutputStream out = new ByteCountingOutputStream(); new ObjectOutputStream(out).writeObject(object); out.close(); return out.size(); } catch (IOException e) { if (log.isWarnEnabled()) {
8384858687888990919293949596
{ return 0; } try { final ByteCountingOutputStream out = new ByteCountingOutputStream(); new ObjectOutputStream(out).writeObject(object); out.close(); return out.size(); } catch (IOException e) { return -1; }
8586878889909192939495969798
114115116117118119120121122123124125126127