User presses Ctrl + C or the transaction is aborted.
| 106 | |
| 107 | // User presses Ctrl + C or the transaction is aborted. |
| 108 | class S3QueryAbort : public S3Exception { |
| 109 | public: |
| 110 | S3QueryAbort() : message("Query is aborted") { |
| 111 | } |
| 112 | S3QueryAbort(const string& msg) : message(msg) { |
| 113 | } |
| 114 | virtual ~S3QueryAbort() { |
| 115 | } |
| 116 | virtual string getMessage() { |
| 117 | return message; |
| 118 | } |
| 119 | |
| 120 | virtual string getType() { |
| 121 | return "S3QueryAbort"; |
| 122 | } |
| 123 | string message; |
| 124 | }; |
| 125 | |
| 126 | // AWS S3 responds errors |
| 127 | // AccessDenied, NoSuchBucket or other kinds of InvalidRequest |
no outgoing calls