first commit
This commit is contained in:
29
Minecraft.World/Exceptions.h
Normal file
29
Minecraft.World/Exceptions.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
using namespace std;
|
||||
|
||||
class EOFException : public std::exception
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
class IllegalArgumentException : public std::exception
|
||||
{
|
||||
public:
|
||||
wstring information;
|
||||
|
||||
IllegalArgumentException(const wstring& information);
|
||||
};
|
||||
|
||||
class IOException : public std::exception
|
||||
{
|
||||
public:
|
||||
wstring information;
|
||||
|
||||
IOException(const wstring& information);
|
||||
};
|
||||
|
||||
class RuntimeException : public std::exception
|
||||
{
|
||||
public:
|
||||
RuntimeException(const wstring& information);
|
||||
};
|
||||
Reference in New Issue
Block a user