From aec9a74a3ae64a2aabc4a56c202410db17f6d0f3 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 21 Nov 2014 16:44:30 -0500 Subject: [PATCH] Exception addition. --- libethcore/Exceptions.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libethcore/Exceptions.h b/libethcore/Exceptions.h index 5a07407d2..b53a62562 100644 --- a/libethcore/Exceptions.h +++ b/libethcore/Exceptions.h @@ -60,6 +60,7 @@ struct InvalidTransactionGasUsed: virtual dev::Exception {}; struct InvalidTransactionsStateRoot: virtual dev::Exception {}; struct InvalidReceiptsStateRoot: virtual dev::Exception {}; struct InvalidTimestamp: virtual dev::Exception {}; +struct InvalidLogBloom: virtual dev::Exception {}; class InvalidNonce: virtual public dev::Exception { public: InvalidNonce(u256 _required = 0, u256 _candidate = 0): required(_required), candidate(_candidate) {} u256 required; u256 candidate; virtual const char* what() const noexcept; }; class InvalidBlockNonce: virtual public dev::Exception { public: InvalidBlockNonce(h256 _h = h256(), h256 _n = h256(), u256 _d = 0): h(_h), n(_n), d(_d) {} h256 h; h256 n; u256 d; virtual const char* what() const noexcept; }; struct InvalidParentHash: virtual dev::Exception {};