View Issue Details

IDProjectCategoryView StatusLast Update
0001328NoesisGUIC# SDKpublic2018-11-22 09:57
ReporterJasonL663 Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionopen 
Target Version2.2.0Fixed in Version2.2.0b3 
Summary0001328: NoesisException cannot be caught explicitly
Description

The Noesis.Error.NoesisException class is marked as private. This means it
cannot be caught explicitly. Instead, developers are forced to do a blanket
catch by catching System.Exception which makes it difficult to distinguish
between a Noesis error and a system error (e.g NullReferenceException).

Steps To Reproduce

Attempt to compile an expression catching a NoesisException produced by a call
to Noesis.GUI.LoadComponent:

try { Noesis.GUI.LoadComponent(component, xamlPath); }
catch (Noesis.Error.NoesisException) { }

Observe the resulting CS0122 compile error:
'Error.NoesisException' is inaccessible due to its protection level

PlatformAny

Activities

admin

admin

2018-10-30 12:47

administrator   ~0005268

Our hosting company corrupted our database without a backup. We are manually reconstructing all the issues.

Issue History

Date Modified Username Field Change
2018-10-30 12:46 admin New Issue
2018-10-30 12:46 admin Reporter admin => JasonL663
2018-10-30 12:47 admin Note Added: 0005268
2018-11-01 02:14 jsantos View Status public => private
2018-11-22 09:57 sfernandez Assigned To => sfernandez
2018-11-22 09:57 sfernandez Status new => resolved
2018-11-22 09:57 sfernandez Fixed in Version => 2.2.0b3
2018-11-22 09:57 sfernandez Target Version => 2.2.0
2018-11-22 09:57 sfernandez View Status private => public
2018-11-22 09:57 sfernandez Platform => Any