1
#ifndef SEEN_BAD_URI_EXCEPTION_H
2
#define SEEN_BAD_URI_EXCEPTION_H
8
class BadURIException : public std::exception {};
10
class UnsupportedURIException : public BadURIException {
12
char const *what() const throw() { return "Unsupported URI"; }
15
class MalformedURIException : public BadURIException {
17
char const *what() const throw() { return "Malformed URI"; }
23
#endif /* !SEEN_BAD_URI_EXCEPTION_H */
28
c-file-style:"stroustrup"
29
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
34
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :