mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-10 17:30:47 +00:00
Updated error message
This commit is contained in:
parent
67d73da898
commit
8fc8531b5b
@ -62,7 +62,7 @@ void SASIHD::Open(const Filepath& path)
|
||||
// Open as read-only
|
||||
Fileio fio;
|
||||
if (!fio.Open(path, Fileio::ReadOnly)) {
|
||||
throw io_exception("Can't open hard disk file read-only");
|
||||
throw io_exception("Can't open hard disk file");
|
||||
}
|
||||
|
||||
// Get file size
|
||||
|
@ -304,7 +304,7 @@ void SCSICD::Open(const Filepath& path)
|
||||
// Open as read-only
|
||||
Fileio fio;
|
||||
if (!fio.Open(path, Fileio::ReadOnly)) {
|
||||
throw file_not_found_exception("Can't open CD-ROM file read-only");
|
||||
throw file_not_found_exception("Can't open CD-ROM file");
|
||||
}
|
||||
|
||||
// Close and transfer for physical CD access
|
||||
@ -377,7 +377,7 @@ void SCSICD::OpenIso(const Filepath& path)
|
||||
// Open as read-only
|
||||
Fileio fio;
|
||||
if (!fio.Open(path, Fileio::ReadOnly)) {
|
||||
throw io_exception("Can't open ISO CD-ROM file read-only");
|
||||
throw io_exception("Can't open ISO CD-ROM file");
|
||||
}
|
||||
|
||||
// Get file size
|
||||
@ -464,7 +464,7 @@ void SCSICD::OpenPhysical(const Filepath& path)
|
||||
// Open as read-only
|
||||
Fileio fio;
|
||||
if (!fio.Open(path, Fileio::ReadOnly)) {
|
||||
throw io_exception("Can't open CD-ROM file read-only");
|
||||
throw io_exception("Can't open CD-ROM file");
|
||||
}
|
||||
|
||||
// Get size
|
||||
|
@ -64,7 +64,7 @@ void SCSIHD::Open(const Filepath& path)
|
||||
// Open as read-only
|
||||
Fileio fio;
|
||||
if (!fio.Open(path, Fileio::ReadOnly)) {
|
||||
throw file_not_found_exception("Can't open hard disk file read-only");
|
||||
throw file_not_found_exception("Can't open hard disk file");
|
||||
}
|
||||
|
||||
// Get file size
|
||||
|
@ -72,7 +72,7 @@ void SCSIHD_NEC::Open(const Filepath& path)
|
||||
// Open as read-only
|
||||
Fileio fio;
|
||||
if (!fio.Open(path, Fileio::ReadOnly)) {
|
||||
throw io_exception("Can't open hard disk file read-only");
|
||||
throw io_exception("Can't open hard disk file");
|
||||
}
|
||||
|
||||
// Get file size
|
||||
|
@ -48,7 +48,7 @@ void SCSIMO::Open(const Filepath& path)
|
||||
Fileio fio;
|
||||
|
||||
if (!fio.Open(path, Fileio::ReadOnly)) {
|
||||
throw file_not_found_exception("Can't open MO file read-only");
|
||||
throw file_not_found_exception("Can't open MO file");
|
||||
}
|
||||
|
||||
// Get file size
|
||||
|
Loading…
x
Reference in New Issue
Block a user