ModelSEED/ModelSEED — pull request #10 by devoid (2012-08-14 22:19:08+00:00)
Title: Draft of structured exceptions and usage in CLI

This is a working draft for doing structured exceptions for parts of the ModelSEED.
This is needed for properly handling exceptions for a CLI user:

- Defined CLI structured exceptions in ModelSEED::Exceptions.
Subclasses of ModelSEED::Exception::CLI implement a function
cli_error_text which describes the error for an end user.

- Implemented exceptions for ModelSEED::Database::Composite
for bad configuration and no configuration error cases.

- Implemented error handlers for CLI functions that can
use these structured exceptions.

TODO:

- Testing : must test each exception
- Testing : must test classes exceptions themselves
- Implement more exceptions

This addresses issue #8