path: root/test/backupstorefix
diff options
authorChris Wilson <>2014-10-31 22:09:42 +0000
committerChris Wilson <>2014-10-31 22:09:42 +0000
commite8efeb785c158581be729aa1dee122f50789ac86 (patch)
treedd1fda26285a9255411c607b6910b79a89877242 /test/backupstorefix
parent9236e14007c068d7d9294d90aeb976eb9cecab84 (diff)
Refactor handling of exceptions in protocol server command executors.
Add a standard method to Replyable that will be called if a recoverable exception (a BoxException) occurs, and can return a protocol Message to be sent to the client, such as an error code for various standard errors, or rethrow the exception. If you want something different, catch exceptions and return the desired reply yourself, or you'll get the default handling.
Diffstat (limited to 'test/backupstorefix')
0 files changed, 0 insertions, 0 deletions