4jcraft/targets/java/include/java/Exceptions.h

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);
};