Poco

class LogicException

Library: Foundation
Package: Core
Header: Poco/Exception.h

Inheritance

Direct Base Classes: Exception

All Base Classes: Exception, std::exception

Known Derived Classes: AssertionViolationException, NullPointerException, NullValueException, BugcheckException, InvalidArgumentException, NotImplementedException, RangeException, IllegalStateException, InvalidAccessException, SignalException, UnhandledException

Member Summary

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

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

Constructors

LogicException

LogicException(
    int code = 0
);

LogicException

LogicException(
    const LogicException & exc
);

LogicException

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

LogicException

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

LogicException

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

Destructor

~LogicException

~LogicException();

Member Functions

className virtual

const char * className() const;

See also: Poco::Exception::className()

clone

Poco::Exception * clone() const;

name virtual

const char * name() const;

See also: Poco::Exception::name()

operator =

LogicException & operator = (
    const LogicException & exc
);

rethrow virtual

void rethrow() const;

See also: Poco::Exception::rethrow()