From 13777021d36fc8dbfd4d7233bc18e9eb7ffcc18c Mon Sep 17 00:00:00 2001 From: alcexhim Date: Mon, 9 Jun 2014 09:52:21 -0400 Subject: [PATCH] Throw an ObjectModelNotSupportedException to notify of a problem rather than just returning --- .../DataFormats/FileSystem/UXT/UXTDataFormat.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CSharp/Plugins/UniversalEditor.Essential/DataFormats/FileSystem/UXT/UXTDataFormat.cs b/CSharp/Plugins/UniversalEditor.Essential/DataFormats/FileSystem/UXT/UXTDataFormat.cs index dbec0ef1..dc6eb4d8 100644 --- a/CSharp/Plugins/UniversalEditor.Essential/DataFormats/FileSystem/UXT/UXTDataFormat.cs +++ b/CSharp/Plugins/UniversalEditor.Essential/DataFormats/FileSystem/UXT/UXTDataFormat.cs @@ -35,7 +35,7 @@ namespace UniversalEditor.DataFormats.FileSystem.UXT protected override void LoadInternal(ref ObjectModel objectModel) { FileSystemObjectModel fsom = (objectModel as FileSystemObjectModel); - if (fsom == null) return; + if (fsom == null) throw new ObjectModelNotSupportedException(); Reader br = base.Accessor.Reader;