Lines Matching refs:exception
71 class exception : public std::exception {
75 inline exception(const char *what_arg, const char *msg,
78 exception() {}
79 exception(const char *what_arg) {
92 * will be included in the exception thrown from inside the bindings.
95 /* Wrapper for throwing an exception with the given message.
103 /* Create an exception of a type described by "what_arg", with
110 exception::exception(const char *what_arg, const char *msg, const char *file,
120 class exception_abort : public exception {
121 friend exception;
123 exception("execution aborted", msg, file, line) {}
126 class exception_alloc : public exception {
127 friend exception;
129 exception("memory allocation failure", msg, file, line) {}
132 class exception_unknown : public exception {
133 friend exception;
135 exception("unknown failure", msg, file, line) {}
138 class exception_internal : public exception {
139 friend exception;
141 exception("internal error", msg, file, line) {}
144 class exception_invalid : public exception {
145 friend exception;
147 exception("invalid argument", msg, file, line) {}
150 class exception_quota : public exception {
151 friend exception;
153 exception("quota exceeded", msg, file, line) {}
156 class exception_unsupported : public exception {
157 friend exception;
159 exception("unsupported operation", msg, file, line) {}
162 /* Throw an exception of the class that corresponds to "error", with
167 void exception::throw_error(enum isl_error error, const char *msg,
186 /* Throw an exception corresponding to the last error on "ctx" and
190 * then an invalid argument exception is thrown.
192 void exception::throw_last_error(ctx ctx)
212 class exception {
219 /* Wrapper for throwing an exception with the given message.
226 /* Throw an exception corresponding to the last