Annotation of truecrypt/volume/volumeexception.h, revision 1.1

1.1     ! root        1: /*
        !             2:  Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
        !             3: 
        !             4:  Governed by the TrueCrypt License 2.4 the full text of which is contained
        !             5:  in the file License.txt included in TrueCrypt binary and source code
        !             6:  distribution packages.
        !             7: */
        !             8: 
        !             9: #ifndef TC_HEADER_Volume_VolumeExceptions
        !            10: #define TC_HEADER_Volume_VolumeExceptions
        !            11: 
        !            12: #include "Platform/Platform.h"
        !            13: 
        !            14: namespace TrueCrypt
        !            15: {
        !            16:        struct VolumeException : public Exception
        !            17:        {
        !            18:        protected:
        !            19:                VolumeException ();
        !            20:                VolumeException (const string &message) : Exception (message) { }
        !            21:                VolumeException (const string &message, const wstring &subject) : Exception (message, subject) { }
        !            22:        };
        !            23: 
        !            24: #define TC_EXCEPTION(NAME) TC_EXCEPTION_DECL(NAME,VolumeException)
        !            25: 
        !            26: #undef TC_EXCEPTION_SET
        !            27: #define TC_EXCEPTION_SET \
        !            28:        TC_EXCEPTION (HigherVersionRequired); \
        !            29:        TC_EXCEPTION (MissingVolumeData); \
        !            30:        TC_EXCEPTION (MountedVolumeInUse); \
        !            31:        TC_EXCEPTION (VolumeHostInUse); \
        !            32:        TC_EXCEPTION (VolumeProtected); \
        !            33:        TC_EXCEPTION (VolumeReadOnly);
        !            34: 
        !            35:        TC_EXCEPTION_SET;
        !            36: 
        !            37: #undef TC_EXCEPTION
        !            38: }
        !            39: 
        !            40: #endif // TC_HEADER_Volume_VolumeExceptions

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.