Home | History | Annotate | Download | only in port

Lines Matching defs:Exception

24 #include <exception>
30 class Exception : public std::exception {
32 Exception() : what_("Unknown exception") {}
33 explicit Exception(const char* message) throw() { SetMessage(message); }
34 virtual ~Exception() throw() {}
48 class IndexOutOfBoundException : public Exception {
50 IndexOutOfBoundException() throw() : Exception("Index out of bound") {}
52 : Exception(message) {}
65 class IOException : public Exception {
67 IOException() throw() : Exception("I/O exception") {}
68 explicit IOException(const char* message) throw() : Exception(message) {}
72 class ArithmeticException : public Exception {
74 ArithmeticException() throw() : Exception("Arithmetic exception") {}
76 : Exception(message) {}
80 class UnsupportedOperationException : public Exception {
83 Exception("Operation not supported") {}
85 : Exception(message) {}
89 class RuntimeException : public Exception {
91 RuntimeException() throw() : Exception("Runtime exception") {}
93 : Exception(message) {}
97 class NoSuchElementException : public Exception {
99 NoSuchElementException() throw() : Exception("No such element") {}
101 : Exception(message) {}
105 class IllegalArgumentException : public Exception {
107 IllegalArgumentException() throw() : Exception("Illegal argument") {}
109 : Exception(message) {}
113 class IllegalStateException : public Exception {
115 IllegalStateException() throw() : Exception("Illegal state") {}
117 : Exception(message) {}