forked from mirror/openmw-tes3mp
exception class fix
This commit is contained in:
parent
aa99a0dd56
commit
8930134d82
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ namespace Compiler
|
||||||
|
|
||||||
/// \brief Exception: File error
|
/// \brief Exception: File error
|
||||||
|
|
||||||
class FileException
|
class FileException : public SourceException
|
||||||
{
|
{
|
||||||
virtual const char *what() const throw() { return "can't read file"; }
|
virtual const char *what() const throw() { return "can't read file"; }
|
||||||
///< Return error message
|
///< Return error message
|
||||||
|
@ -23,7 +23,7 @@ namespace Compiler
|
||||||
|
|
||||||
/// \brief Exception: EOF condition encountered
|
/// \brief Exception: EOF condition encountered
|
||||||
|
|
||||||
class EOFException
|
class EOFException : public SourceException
|
||||||
{
virtual const char *what() const throw() { return "end of file"; }
|
{
virtual const char *what() const throw() { return "end of file"; }
|
||||||
///< Return error message
|
///< Return error message
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue