stream = new ObjectOutputStream(new BufferedOutputStream(output));
stream.writeObject(objectAndItsClassInfo.getObject());
} catch (final InvalidClassException exception) {
throw new ObjectIOInvalidClassException(exception);
} catch (final NotSerializableException exception) {
throw new ObjectIONotSerializableException(
objectAndItsClassInfo.toString() + " is not serializable",
exception);
} catch (final IOException exception) {
throw new ObjectIOException(exception);
} catch (final StackOverflowError stackOverflowError) {