Throw an ObjectModelNotSupportedException to notify of a problem rather than just returning
This commit is contained in:
parent
9335ab1f93
commit
13777021d3
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user