//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by Common.rc // #define IDI_TRUECRYPT_ICON 501 #define IDI_TRUECRYPT_VOL_ICON 502 #define IDD_BENCHMARK_DLG 503 #define IDD_MOUNT_OPTIONS 504 #define IDD_KEYFILES 505 #define IDR_LANGUAGE 506 #define IDI_TRUECRYPT 507 #define IDD_ABOUT_DLG 508 #define IDD_COMMANDHELP_DLG 509 #define IDD_RAWDEVICES_DLG 510 #define IDC_HOMEPAGE 511 #define IDR_COMMON_RSRC_HEADER 512 #define IDD_LANGUAGE 513 #define IDD_CIPHER_TEST_DLG 514 #define IDR_LICENSE 515 #define IDD_AUXILIARY_DLG 516 #define IDB_TEXTUAL_LOGO_BKG 517 #define IDB_TEXTUAL_LOGO_96DPI 518 #define IDB_TEXTUAL_LOGO_288DPI 519 #define IDR_BOOT_SECTOR 520 #define IDR_BOOT_SECTOR_AES 521 #define IDR_BOOT_SECTOR_SERPENT 522 #define IDR_BOOT_SECTOR_TWOFISH 523 #define IDR_BOOT_LOADER_DECOMPRESSOR 524 #define IDR_BOOT_LOADER 525 #define IDR_BOOT_LOADER_AES 526 #define IDR_BOOT_LOADER_SERPENT 527 #define IDR_BOOT_LOADER_TWOFISH 528 #define IDR_RESCUE_BOOT_SECTOR 529 #define IDR_RESCUE_BOOT_SECTOR_AES 530 #define IDR_RESCUE_BOOT_SECTOR_SERPENT 531 #define IDR_RESCUE_BOOT_SECTOR_TWOFISH 532 #define IDR_RESCUE_LOADER 533 #define IDR_RESCUE_LOADER_AES 534 #define IDR_RESCUE_LOADER_SERPENT 535 #define IDR_RESCUE_LOADER_TWOFISH 536 #define IDD_TOKEN_PASSWORD 537 #define IDD_TOKEN_KEYFILES 538 #define IDD_NEW_TOKEN_KEYFILE 539 #define IDD_RANDOM_POOL_ENRICHMENT 540 #define IDI_TRUECRYPT_MOUNTED_ICON 541 #define IDR_BOOT_SECTOR_SHA2 542 #define IDR_BOOT_SECTOR_AES_SHA2 543 #define IDR_BOOT_SECTOR_SERPENT_SHA2 544 #define IDR_BOOT_SECTOR_TWOFISH_SHA2 545 #define IDR_BOOT_LOADER_SHA2 546 #define IDR_BOOT_LOADER_AES_SHA2 547 #define IDR_BOOT_LOADER_SERPENT_SHA2 548 #define IDR_BOOT_LOADER_TWOFISH_SHA2 549 #define IDR_RESCUE_BOOT_SECTOR_SHA2 550 #define IDR_RESCUE_BOOT_SECTOR_AES_SHA2 551 #define IDR_RESCUE_BOOT_SECTOR_SERPENT_SHA2 552 #define IDR_RESCUE_BOOT_SECTOR_TWOFISH_SHA2 553 #define IDR_RESCUE_LOADER_SHA2 554 #define IDR_RESCUE_LOADER_AES_SHA2 555 #define IDR_RESCUE_LOADER_SERPENT_SHA2 556 #define IDR_RESCUE_LOADER_TWOFISH_SHA2 557 #define IDR_BOOT_SECTOR_CAMELLIA 558 #define IDR_BOOT_LOADER_CAMELLIA 559 #define IDR_RESCUE_BOOT_SECTOR_CAMELLIA 560 #define IDR_RESCUE_LOADER_CAMELLIA 561 #define IDR_BOOT_SECTOR_CAMELLIA_SHA2 562 #define IDR_BOOT_LOADER_CAMELLIA_SHA2 563 #define IDR_RESCUE_BOOT_SECTOR_CAMELLIA_SHA2 564 #define IDR_RESCUE_LOADER_CAMELLIA_SHA2 565 #define IDR_EFI_DCSBOOT 566 #define IDR_EFI_DCSINT 567 #define IDR_EFI_DCSCFG 568 #define IDR_EFI_LEGACYSPEAKER 569 #define IDR_EFI_DCSBML 570 #define IDR_EFI_DCSRE 571 #define IDR_EFI_DCSBOOT32 572 #define IDR_EFI_DCSINT32 573 #define IDR_EFI_DCSCFG32 574 #define IDR_EFI_LEGACYSPEAKER32 575 #define IDR_EFI_DCSBML32 576 #define IDR_EFI_DCSRE32 577 #define IDR_EFI_DCSINFO 578 #define IDR_EFI_DCSINFO32 579 #define IDC_HW_AES_LABEL_LINK 5000 #define IDC_HW_AES 5001 #define IDC_PARALLELIZATION_LABEL_LINK 5002 #define IDC_PARALLELIZATION 5003 #define IDT_TOKEN_PASSWORD 5004 #define IDC_PRINT 5005 #define IDC_KEY 5006 #define IDC_PLAINTEXT 5007 #define IDC_CIPHERTEXT 5008 #define IDC_INFO_BOX_TEXT 5009 #define IDC_SECONDARY_KEY 5010 #define IDD_TEXT_INFO_DIALOG_BOX_DLG 5011 #define IDC_TEST_DATA_UNIT_NUMBER 5012 #define IDD_KEYFILE_GENERATOR 5013 #define IDC_CIPHER 5014 #define IDD_MULTI_CHOICE_DLG 5015 #define IDC_TEST_BLOCK_NUMBER 5016 #define IDD_STATIC_MODELESS_WAIT_DLG 5017 #define IDC_POOL_CONTENTS 5018 #define IDC_PRF_ID 5019 #define IDC_KEY_SIZE 5020 #define IDC_PLAINTEXT_SIZE 5021 #define IDC_REDTICK 5022 #define IDC_TESTS_MESSAGE 5023 #define IDC_R
/*
 Derived from source code of TrueCrypt 7.1a, which is
 Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
 by the TrueCrypt License 3.0.

 Modifications and additions to the original source code (contained in this file)
 and all other portions of this file are Copyright (c) 2013-2017 IDRIX
 and are governed by the Apache License 2.0 the full text of which is
 contained in the file License.txt included in VeraCrypt binary and source
 code distribution packages.
*/

#include "VolumeException.h"
#include "Platform/SerializerFactory.h"

namespace VeraCrypt
{
	// Do not inline the constructors to ensure this module is not optimized away
	VolumeException::VolumeException ()
	{
	}

	VolumeException::VolumeException (const string &message) : Exception (message)
	{
	}

	VolumeException::VolumeException (const string &message, const wstring &subject) : Exception (message, subject)
	{
	}

#define TC_EXCEPTION(TYPE) TC_SERIALIZER_FACTORY_ADD(TYPE)
#undef TC_EXCEPTION_NODECL
#define TC_EXCEPTION_NODECL(TYPE) TC_SERIALIZER_FACTORY_ADD(TYPE)

	TC_SERIALIZER_FACTORY_ADD_EXCEPTION_SET (VolumeException);
}