-rw-r--r-- | include/opkele/exception.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/opkele/exception.h b/include/opkele/exception.h index 5c8418e..33f89cc 100644 --- a/include/opkele/exception.h +++ b/include/opkele/exception.h | |||
@@ -359,2 +359,11 @@ namespace opkele { | |||
359 | 359 | ||
360 | /** | ||
361 | * thrown if return_to URL doesn't match realm | ||
362 | */ | ||
363 | class bad_return_to : public exception { | ||
364 | public: | ||
365 | bad_return_to(OPKELE_E_PARS) | ||
366 | : exception(OPKELE_E_CONS) { } | ||
367 | }; | ||
368 | |||
360 | } | 369 | } |