Exeine

An annotation driven exception handling framework
Download

Exeine Ranking & Summary

Advertisement

  • Rating:
  • Publisher Name:
  • davidrocks
  • Operating Systems:
  • Windows All
  • File Size:
  • 21 KB

Exeine Tags


Exeine Description

Exeine aims to reduce the amount of exception handling code by allowing the error messages Exeine aims to reduce the amount of exception handling code by allowing the error messages to be stored in annotations and propeties files. It will stop the widespread misuse of catch, log and throw in java code. Software users basically want to have a specific text message outputted when something goes wrong, but get this we have to catch, log then rethrow the message. Application administrators dont want to see an stack trace in the log file when alerted with the problem they would like to see a message explaining what the likely cause of the problem is for example "There is a problem with the database connection when we tried to update the user" and not "Exception in UserDAO". On the other hand developers want to manage code without excesive catch blocks and when an exception is thrown have a single stack trace showing the steps from top to bottom, not a dozen traces from the single error caused to catch and throwing. With exenine all these things can be acheived. The messages can be writen into the annotations, written into XML files or a combination. The annotations are processed at compile time with the use of an ANT target. If an exception is thrown at runtime exeine will look to message files and select the appropriate error message to be displayed


Exeine Related Software