From ae28d510163d6108f3746ee1e5d64d00350ac8ee Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 6 Apr 2015 18:51:14 +0200 Subject: Linux/MaxOSX: correctly detect type of internal exceptions --- src/Main/UserInterface.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Main/UserInterface.cpp') diff --git a/src/Main/UserInterface.cpp b/src/Main/UserInterface.cpp index a0819787..62966e77 100644 --- a/src/Main/UserInterface.cpp +++ b/src/Main/UserInterface.cpp @@ -1588,9 +1588,12 @@ namespace VeraCrypt VC_CONVERT_EXCEPTION (SecurityTokenLibraryNotInitialized); VC_CONVERT_EXCEPTION (SecurityTokenKeyfileAlreadyExists); VC_CONVERT_EXCEPTION (SecurityTokenKeyfileNotFound); - VC_CONVERT_EXCEPTION (SystemException); - VC_CONVERT_EXCEPTION (UnsupportedAlgoInTrueCryptMode); + VC_CONVERT_EXCEPTION (UnsupportedAlgoInTrueCryptMode); VC_CONVERT_EXCEPTION (UnsupportedTrueCryptFormat); + VC_CONVERT_EXCEPTION (SystemException); + VC_CONVERT_EXCEPTION (CipherException); + VC_CONVERT_EXCEPTION (VolumeException); + VC_CONVERT_EXCEPTION (PasswordException); throw *ex; } } -- cgit v1.2.3