]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Add ObsyncException
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 26 Jul 2011 18:29:53 +0000 (11:29 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 26 Jul 2011 19:56:55 +0000 (12:56 -0700)
commit3e9a982a88ed16e5b47136f617193d6056b32ab4
tree5ce4925e040e943d3806ac25d253af9d1951d083
parentb16fa971a021682370a8af726c574bee5aaa74db
Add ObsyncException

This class has subclasses representing temporary and permanent
exceptions, as well as argument parsing errors. An instance of this
class can be created from a message or from another exception.

We always print out the type of exception on the last line of stderr,
right after the exception information.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/obsync/obsync