aboutsummaryrefslogtreecommitdiff
path: root/include/LibraryException.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-01-31 18:17:58 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:41 +0100
commit9bc6b85e12d73a43b8d85ba109acff8778f4c08a (patch)
tree48295a08b01988a8aa12674162385681dd937824 /include/LibraryException.h
parent03f444905d3a7af3091c2401280e83146f08443a (diff)
downloadlibnitrokey-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.h2
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 {