Lines Matching full:exception
82 class exception : public std::exception {
86 inline exception(const char *what_arg, const char *msg,
89 exception() {}
90 exception(const char *what_arg) {
103 * will be included in the exception thrown from inside the bindings.
106 /* Wrapper for throwing an exception with the given message.
114 /* Create an exception of a type described by "what_arg", with
121 exception::exception(const char *what_arg, const char *msg, const char *file,
131 class exception_abort : public exception {
132 friend exception;
134 exception("execution aborted", msg, file, line) {}
137 class exception_alloc : public exception {
138 friend exception;
140 exception("memory allocation failure", msg, file, line) {}
143 class exception_unknown : public exception {
144 friend exception;
146 exception("unknown failure", msg, file, line) {}
149 class exception_internal : public exception {
150 friend exception;
152 exception("internal error", msg, file, line) {}
155 class exception_invalid : public exception {
156 friend exception;
158 exception("invalid argument", msg, file, line) {}
161 class exception_quota : public exception {
162 friend exception;
164 exception("quota exceeded", msg, file, line) {}
167 class exception_unsupported : public exception {
168 friend exception;
170 exception("unsupported operation", msg, file, line) {}
173 /* Throw an exception of the class that corresponds to "error", with
178 void exception::throw_error(enum isl_error error, const char *msg,
197 /* Throw an exception corresponding to the last error on "ctx" and
201 * then an invalid argument exception is thrown.
203 void exception::throw_last_error(ctx ctx)
223 class exception {
230 /* Wrapper for throwing an exception with the given message.
237 /* Throw an exception corresponding to the last