static void transferObject(Pipe.Schema<Object> pipeSchema, Pipe pipe,
            Input input, Output output, IdStrategy strategy) throws IOException
    {
        final int number = input.readFieldNumber(pipeSchema.wrappedSchema);
        if (number != ID_THROWABLE)
            throw new ProtostuffException("Corrupt input.");

        transferObject(pipeSchema, pipe, input, output, strategy, number);
    }
Used when the type is assignable from {@link java.lang.Throwable}.

@author David Yu
@created May 2, 2012
protostuff-runtime/src/main/java/io/protostuff/runtime/PolymorphicThrowableSchema.java