Closed woutersl closed 10 years ago
Original comment by Laurent Wouters (Bitbucket: 557058:675792b6-d731-4823-9f7d-c6dfcb2df2b5, ).
[fix] Fixed issue #13 by throwing an explicit exception on missing resources
Original comment by Laurent Wouters (Bitbucket: 557058:675792b6-d731-4823-9f7d-c6dfcb2df2b5, ).
[fix] Fixed issue #13 by throwing an explicit exception on missing resources
Original report by Laurent Wouters (Bitbucket: 557058:675792b6-d731-4823-9f7d-c6dfcb2df2b5, ).
When loading an automaton from an embedded resource that is missing, the error experienced by the user is a null reference exception ; which is not very helpful.
An exception with a meaningful error message hinting at how to fix the issue should be thrown instead.