Apache Log4cxx  Version 2.0.0
Loading...
Searching...
No Matches
log4cxx::helpers::InstantiationException Class Reference

Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class. More...

#include <exception.h>

Inheritance diagram for log4cxx::helpers::InstantiationException:
log4cxx::helpers::Exception

Public Member Functions

 InstantiationException (const LogString &msg)
Public Member Functions inherited from log4cxx::helpers::Exception
 Exception (const char *msg)
 Exception (const LogString &msg)
const char * what () const noexcept override

Additional Inherited Members

Static Public Member Functions inherited from log4cxx::helpers::Exception
static LogString makeMessage (const LogString &type, log4cxx_status_t stat)
static std::string makeMessage (const char *type, log4cxx_status_t stat)

Detailed Description

Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.

Constructor & Destructor Documentation

◆ InstantiationException()

log4cxx::helpers::InstantiationException::InstantiationException ( const LogString & msg)

The documentation for this class was generated from the following file: