class PrimitiveOnlyValueWriter extends BaseToObjectValueWriter<RuntimeException> {

    public Object valueAsObject( AnyValue value )
    {
        value.writeTo( this );
        return value();
    }

}