Bug 28000 - Exception handling should be improved
Summary: Exception handling should be improved
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: master
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-13 04:02 UTC by Arsen.Shnurkov
Modified: 2015-03-13 04:02 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Arsen.Shnurkov 2015-03-13 04:02:57 UTC
You should add additional info in upper stack frames.

For example, If XML reader failed, then upper frames should 
catch exception, 
add filename info the exception
rethrow the exception

This will provide more info for administrators and users (which file access rights to check? is file present? does it have some content or it is malformed and have zero length?)

related error - https://bugzilla.xamarin.com/show_bug.cgi?id=27958

Note You need to log in before you can comment on or make changes to this bug.