diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-01-31 18:17:58 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:41 +0100 |
commit | 9bc6b85e12d73a43b8d85ba109acff8778f4c08a (patch) | |
tree | 48295a08b01988a8aa12674162385681dd937824 /include/LibraryException.h | |
parent | 03f444905d3a7af3091c2401280e83146f08443a (diff) | |
download | libnitrokey-9bc6b85e12d73a43b8d85ba109acff8778f4c08a.tar.gz libnitrokey-9bc6b85e12d73a43b8d85ba109acff8778f4c08a.tar.bz2 |
Throw before communicating with device if it is not initialized
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/LibraryException.h')
-rw-r--r-- | include/LibraryException.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/LibraryException.h b/include/LibraryException.h index 3c3fab4..e62788d 100644 --- a/include/LibraryException.h +++ b/include/LibraryException.h @@ -11,8 +11,6 @@ public: virtual uint8_t exception_id()= 0; }; - - class TargetBufferSmallerThanSource: public LibraryException { public: virtual uint8_t exception_id() override { |