[Box Backup-commit] [boxbackup/boxbackup] 55e413: Improve exception handling in S3Simulator, S3Clien...
GitHub
noreply at github.com
Thu May 25 21:31:07 BST 2017
Branch: refs/heads/s3_support_merge
Home: https://github.com/boxbackup/boxbackup
Commit: 55e41374821a12d0021f6bb4ae6f4a45c754a61e
https://github.com/boxbackup/boxbackup/commit/55e41374821a12d0021f6bb4ae6f4a45c754a61e
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-05-25 (Thu, 25 May 2017)
Changed paths:
M lib/common/BoxException.h
M lib/common/CollectInBufferStream.h
M lib/common/makeexception.pl.in
M lib/httpserver/HTTPException.txt
M lib/httpserver/HTTPServer.cpp
M lib/httpserver/S3Client.cpp
M lib/httpserver/S3Simulator.cpp
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Improve exception handling in S3Simulator, S3Client and HTTPServer.
Centralise error response generation in S3Simulator, driven by throwing and
catching exceptions.
Improve error messages returned by HTTPServer.
Improve exception messages thrown by S3Client.
Add a method to BoxException to quickly check what type of exception it is,
and a macro to make this even shorter.
Show the exception type as well as subtype in GetMessage().
More information about the Boxbackup-commit
mailing list