Poco

class BadCastException

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

Inheritance

Direct Base Classes: RuntimeException

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

Member Summary

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

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

Constructors

BadCastException

BadCastException(
    int code = 0
);

BadCastException

BadCastException(
    const BadCastException & exc
);

BadCastException

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

BadCastException

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

BadCastException

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

Destructor

~BadCastException

~BadCastException() noexcept;

Member Functions

className virtual

const char * className() const noexcept;

clone

Poco::Exception * clone() const;

name virtual

const char * name() const noexcept;

operator =

BadCastException & operator = (
    const BadCastException & exc
);

rethrow virtual

void rethrow() const;