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

Signals that an error occurred while attempting to connect a socket to a remote address and port. More...

#include <exception.h>

Inheritance diagram for log4cxx::helpers::ConnectException:
log4cxx::helpers::SocketException log4cxx::helpers::IOException log4cxx::helpers::Exception

Public Member Functions

 ConnectException (const LogString &msg)
 ConnectException (log4cxx_status_t status)
Public Member Functions inherited from log4cxx::helpers::SocketException
 SocketException (const LogString &msg)
 SocketException (log4cxx_status_t status)
Public Member Functions inherited from log4cxx::helpers::IOException
 IOException ()
 IOException (log4cxx_status_t stat)
 IOException (const LogString &msg)
 IOException (const char *msg)
 IOException (const LogString &type, log4cxx_status_t stat)
 IOException (const char *msg, log4cxx_status_t stat)
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

Signals that an error occurred while attempting to connect a socket to a remote address and port.

Typically, the connection was refused remotely (e.g., no process is listening on the remote address/port).

Constructor & Destructor Documentation

◆ ConnectException() [1/2]

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

◆ ConnectException() [2/2]

log4cxx::helpers::ConnectException::ConnectException ( log4cxx_status_t status)

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