View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001328 | NoesisGUI | C# SDK | public | 2018-10-30 12:46 | 2018-11-22 09:57 |
Reporter | JasonL663 | Assigned To | sfernandez | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | open | ||
Target Version | 2.2.0 | Fixed in Version | 2.2.0b3 | ||
Summary | 0001328: 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 | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
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 |