VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/UserInterface.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-04-06 16:51:14 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-04-06 17:50:24 (GMT)
commitae28d510163d6108f3746ee1e5d64d00350ac8ee (patch)
tree5265f94b5e4ad1e445d1304db524bd618daf5a97 /src/Main/UserInterface.cpp
parent32f11001c039fd0de254be6c68f7c036389b9250 (diff)
downloadVeraCrypt-ae28d510163d6108f3746ee1e5d64d00350ac8ee.zip
VeraCrypt-ae28d510163d6108f3746ee1e5d64d00350ac8ee.tar.gz
Linux/MaxOSX: correctly detect type of internal exceptions
Diffstat (limited to 'src/Main/UserInterface.cpp')
-rw-r--r--src/Main/UserInterface.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Main/UserInterface.cpp b/src/Main/UserInterface.cpp
index a081978..62966e7 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;
}
}