145814591460146114621463146414651466
byte [] barray = new byte[sizebArray ]; input.readFully(barray); content.add(barray); break; default: throw new SerializationException ("I don't know how to read type " + type + " yet"); } } }
341342343344345346347348349350
this.writeByte(DataContainerConstants.BOOLEAN); this.addObjectReference(id); this.writeBoolean(((Boolean)obj).booleanValue()); } else { throw new SerializationException("I don't know how to write type " + obj.getClass().getName() + " yet"); } }
441442443444445446447448
{ this.writeByte(DataContainerConstants.BOOLEAN); DataContainer.this.content.add(obj); } else { throw new SerializationException("I don't know how to write type " + obj.getClass().getName() + " yet"); } }
172173174175176177178179
return readObjectArray(metaData,referenceId,cache, length, input); } } catch (ClassNotFoundException ex) { throw new SerializationException(ex); } }
114115116117118119120121122
} public void write(byte[] buf, int off, int len) throws IOException { if (buf == null) { throw new SerializationException("buf can't be null"); } bout.write(buf, off, len); }
959960961962963964965966
try { return ((BooleanContainer)currentObject).getValue(); } catch (ClassCastException e) { throw new SerializationException("Excepted to be boolean",e); } }
995996997998999100010011002
try { return ((ShortContainer)currentObject).getValue(); } catch (ClassCastException e) { throw new SerializationException("Excepted to be short",e); } }
10111012101310141015101610171018
10271028102910301031103210331034
try { return ((CharacterContainer)currentObject).getValue(); } catch (ClassCastException e) { throw new SerializationException("Excepted to be char",e); } }
10431044104510461047104810491050
try { return ((IntegerContainer)currentObject).getValue(); } catch (ClassCastException e) { throw new SerializationException("Excepted to be int",e); } }