baifanvhai / apromore

Automatically exported from code.google.com/p/apromore
0 stars 0 forks source link

Handling exceptions in the canonizers #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
According to the last meeting minutes, the following method will be followed in 
the canonizers' exceptions:
Whenever a non-apromore exception is caught: 
- Create a message with an explanation about the scenario.
- Log the message with the original exception. 
- If the exception can be handled, process it and log about the situation.
- If it is not possible to handle the exception,
       * Create an object of a suitable Apromore exception by providing the message and the original exception as constructor arguments.
       * Throw the Apromore exception.

Original issue reported on code.google.com by aah.shareef@gmail.com on 27 Sep 2010 at 1:06

GoogleCodeExporter commented 9 years ago
The above method has been applied to the current exceptions in the adapters. 
Most null exceptions have been removed when possible and replaced with suitable 
conditions for each case.

Original comment by aah.shareef@gmail.com on 30 Sep 2010 at 2:51

GoogleCodeExporter commented 9 years ago

Original comment by aah.shareef@gmail.com on 3 Nov 2010 at 9:14