openMSX
DiskExceptions.hh
Go to the documentation of this file.
1 #ifndef DISKEXCEPTIONS_HH
2 #define DISKEXCEPTIONS_HH
3 
4 #include "MSXException.hh"
5 
6 namespace openmsx {
7 
8 class NoSuchSectorException final : public MSXException {
9 public:
11 };
12 
13 class DiskIOErrorException final : public MSXException {
14 public:
16 };
17 
18 class DriveEmptyException final : public MSXException {
19 public:
21 };
22 
23 class WriteProtectedException final : public MSXException {
24 public:
26 };
27 
28 } // namespace openmsx
29 
30 #endif
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5