mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
feat: implement all exception types
This commit is contained in:
parent
be6af511bd
commit
cfce17c19b
|
|
@ -4,7 +4,10 @@
|
||||||
|
|
||||||
class EOFException : public std::runtime_error
|
class EOFException : public std::runtime_error
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
std::wstring information;
|
||||||
|
|
||||||
|
EOFException(const std::wstring &information);
|
||||||
};
|
};
|
||||||
|
|
||||||
class IllegalArgumentException : public std::runtime_error
|
class IllegalArgumentException : public std::runtime_error
|
||||||
|
|
@ -26,5 +29,7 @@ public:
|
||||||
class RuntimeException : public std::runtime_error
|
class RuntimeException : public std::runtime_error
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
std::wstring information;
|
||||||
|
|
||||||
RuntimeException(const std::wstring& information);
|
RuntimeException(const std::wstring& information);
|
||||||
};
|
};
|
||||||
Loading…
Reference in a new issue