Poco::Util

class OptionException

Library: Util
Package: Options
Header: Poco/Util/OptionException.h

Inheritance

Direct Base Classes: Poco::DataException

All Base Classes: Poco::DataException, Poco::Exception, Poco::RuntimeException, std::exception

Known Derived Classes: UnknownOptionException, AmbiguousOptionException, MissingOptionException, MissingArgumentException, InvalidArgumentException, UnexpectedArgumentException, IncompatibleOptionsException, DuplicateOptionException, EmptyOptionException

Member Summary

Member Functions: className, clone, name, operator =, rethrow

Inherited Functions: className, clone, code, displayText, extendedMessage, message, name, nested, operator =, rethrow, what

Constructors

OptionException

OptionException(
    int code = 0
);

OptionException

OptionException(
    const OptionException & exc
);

OptionException

OptionException(
    const std::string & msg,
    int code = 0
);

OptionException

OptionException(
    const std::string & msg,
    const std::string & arg,
    int code = 0
);

OptionException

OptionException(
    const std::string & msg,
    const Poco::Exception & exc,
    int code = 0
);

Destructor

~OptionException

~OptionException() noexcept;

Member Functions

className virtual

const char * className() const noexcept;

clone

Poco::Exception * clone() const;

name virtual

const char * name() const noexcept;

operator =

OptionException & operator = (
    const OptionException & exc
);

rethrow virtual

void rethrow() const;