mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 23:13:37 +00:00
25 lines
516 B
C++
25 lines
516 B
C++
#pragma once
|
|
|
|
#include <exception>
|
|
#include <string>
|
|
|
|
class EOFException : public std::exception {};
|
|
|
|
class IllegalArgumentException : public std::exception {
|
|
public:
|
|
std::wstring information;
|
|
|
|
IllegalArgumentException(const std::wstring& information);
|
|
};
|
|
|
|
class IOException : public std::exception {
|
|
public:
|
|
std::wstring information;
|
|
|
|
IOException(const std::wstring& information);
|
|
};
|
|
|
|
class RuntimeException : public std::exception {
|
|
public:
|
|
RuntimeException(const std::wstring& information);
|
|
}; |