Repository: ignite Updated Branches: refs/heads/ignite-1567 0c18ad80c -> cfe6af02e
IGNITE-1567: Minor fix. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/cfe6af02 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/cfe6af02 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/cfe6af02 Branch: refs/heads/ignite-1567 Commit: cfe6af02e7ab785ecaa0452c844292e79a8379af Parents: 0c18ad8 Author: vozerov-gridgain <[email protected]> Authored: Tue Sep 29 16:44:17 2015 +0300 Committer: vozerov-gridgain <[email protected]> Committed: Tue Sep 29 16:44:17 2015 +0300 ---------------------------------------------------------------------- .../Apache.Ignite.Core/Impl/Portable/PortableWriterImpl.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/cfe6af02/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableWriterImpl.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableWriterImpl.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableWriterImpl.cs index 5db6aaa..a0cf4e1 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableWriterImpl.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableWriterImpl.cs @@ -1360,9 +1360,9 @@ namespace Apache.Ignite.Core.Impl.Portable // Last chance: is object seializable? if (type.IsSerializable) Write(new SerializableObjectHolder(obj)); - - // We did our best, object cannot be marshalled. - throw new PortableException("Unsupported object type [type=" + type + ", object=" + obj + ']'); + else + // We did our best, object cannot be marshalled. + throw new PortableException("Unsupported object type [type=" + type + ", object=" + obj + ']'); } } }
