retdec
mpress_exceptions.h
Go to the documentation of this file.
1 
7 #ifndef UNPACKERTOOL_PLUGINS_MPRESS_MPRESS_EXCEPTIONS_H
8 #define UNPACKERTOOL_PLUGINS_MPRESS_MPRESS_EXCEPTIONS_H
9 
11 
12 namespace retdec {
13 namespace unpackertool {
14 namespace mpress {
15 
22 {
23 public:
24  explicit PackedDataSectionNotFoundException() : UnsupportedInputException("Section with packed data not found.") {}
25 };
26 
31 {
32 public:
33  explicit InvalidImportHintsException() : FatalException("Invalid import hints detected.") {}
34 };
35 
40 {
41 public:
42  explicit CorruptedUnpackingStubException() : FatalException("Corrupted unpacking stub detected.") {}
43 };
44 
45 } // namespace mpress
46 } // namespace unpackertool
47 } // namespace retdec
48 
49 #endif
Definition: unpacker_exception.h:79
FatalException(const Args &... args)
Definition: unpacker_exception.h:81
Definition: unpacker_exception.h:88
UnsupportedInputException(const Args &... args)
Definition: unpacker_exception.h:90
CorruptedUnpackingStubException()
Definition: mpress_exceptions.h:42
InvalidImportHintsException()
Definition: mpress_exceptions.h:33
PackedDataSectionNotFoundException()
Definition: mpress_exceptions.h:24
Definition: archive_wrapper.h:19
Declaration of unpacker exceptions that can be subclassed in unpacker plugins.