mod_servlet
C++Servlets
|
Exception used in the mod_servlet. More...
#include <iostream>
#include <exception>
#include <stdexcept>
#include <typeinfo>
Go to the source code of this file.
Classes | |
struct | servlet::config_exception |
Configuration exception. More... | |
struct | servlet::security_exception |
Security exception. More... | |
struct | servlet::io_exception |
Input/output exception. More... | |
struct | servlet::null_pointer_exception |
Exception thrown on attempt to access nullptr object if this is possible to catch this attempt. More... | |
struct | servlet::invalid_argument_exception |
Exception thrown on passing invalid argument. More... | |
struct | servlet::bad_cast |
Exception thrown on bad cast. More... | |
Functions | |
std::ostream & | servlet::operator<< (std::ostream &out, const std::exception &ex) |
Overload of output streaming operator for exception. More... | |
Exception used in the mod_servlet.
Initially I planned to have exceptions with stack traces, but it appears that under GCC whcen compiling with optimization (-O* flags) stack is not accessible. Until I find how to overcome the problem I'll use plain exceptions.