public void write(ByteWriter writer, Object input)
	{
		try {
			OutputStream os = new ByteWriterStream(writer);
			ObjectOutputStream oos = new ObjectOutputStream(os);
			oos.writeObject(input);
		}
		catch (RuntimeException e) {
			throw e;
		}
		catch (Exception e) {
			throw new RuntimeException( e );
		}
	}