18#ifndef _LOG4CXX_HELPERS_EXCEPTION_H
19#define _LOG4CXX_HELPERS_EXCEPTION_H
22#include <log4cxx/log4cxx.h>
26 #pragma warning ( push )
27 #pragma warning (disable : 4275)
37class LOG4CXX_EXPORT
Exception :
public ::std::exception
44 const char*
what()
const throw();
46 enum { MSG_SIZE = 128 };
47 char msg[MSG_SIZE + 1];
61 static LogString formatMessage(log4cxx_status_t stat);
98 static LogString formatMessage(log4cxx_status_t stat);
118 static LogString formatMessage(log4cxx_status_t stat);
130 static LogString formatMessage(log4cxx_status_t stat);
142 static LogString formatMessage(log4cxx_status_t stat);
152 static LogString formatMessage(log4cxx_status_t stat);
287 #pragma warning (pop)
Signals that an error occurred while attempting to bind a socket to a local address and port.
Definition: exception.h:246
BindException(const BindException &)
BindException & operator=(const BindException &)
BindException(log4cxx_status_t status)
Thrown when an application tries to load in a class through its string name but no definition for the...
Definition: exception.h:183
ClassNotFoundException(const LogString &className)
ClassNotFoundException(const ClassNotFoundException &msg)
ClassNotFoundException & operator=(const ClassNotFoundException &msg)
Definition: exception.h:234
ClosedChannelException(const ClosedChannelException &src)
ClosedChannelException & operator=(const ClosedChannelException &)
Signals that an error occurred while attempting to connect a socket to a remote address and port.
Definition: exception.h:226
ConnectException & operator=(const ConnectException &)
ConnectException(const ConnectException &src)
ConnectException(log4cxx_status_t status)
The class Exception and its subclasses indicate conditions that a reasonable application might want t...
Definition: exception.h:38
Exception(const LogString &msg)
const char * what() const
Exception & operator=(const Exception &src)
Exception(const char *msg)
Exception(const Exception &src)
Signals that an I/O exception of some sort has occurred.
Definition: exception.h:90
IOException(log4cxx_status_t stat)
IOException(const LogString &msg)
IOException(const IOException &src)
IOException & operator=(const IOException &)
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Definition: exception.h:78
IllegalArgumentException(const LogString &msg)
IllegalArgumentException & operator=(const IllegalArgumentException &)
IllegalArgumentException(const IllegalArgumentException &)
Definition: exception.h:157
IllegalMonitorStateException(const IllegalMonitorStateException &msg)
IllegalMonitorStateException(const LogString &msg)
IllegalMonitorStateException & operator=(const IllegalMonitorStateException &msg)
Definition: exception.h:202
IllegalStateException & operator=(const IllegalStateException &)
IllegalStateException(const IllegalStateException &)
Thrown when an application tries to create an instance of a class using the newInstance method in cla...
Definition: exception.h:170
InstantiationException & operator=(const InstantiationException &msg)
InstantiationException(const InstantiationException &msg)
InstantiationException(const LogString &msg)
Definition: exception.h:123
InterruptedException(const InterruptedException &src)
InterruptedException & operator=(const InterruptedException &)
InterruptedException(log4cxx_status_t stat)
Signals that an I/O operation has been interrupted.
Definition: exception.h:260
InterruptedIOException(const InterruptedIOException &)
InterruptedIOException(const LogString &msg)
InterruptedIOException & operator=(const InterruptedIOException &)
Definition: exception.h:102
MissingResourceException(const LogString &key)
MissingResourceException & operator=(const MissingResourceException &)
MissingResourceException(const MissingResourceException &src)
Definition: exception.h:194
NoSuchElementException(const NoSuchElementException &)
NoSuchElementException & operator=(const NoSuchElementException &)
Thrown when an application attempts to use null in a case where an object is required.
Definition: exception.h:68
NullPointerException(const LogString &msg)
NullPointerException(const NullPointerException &msg)
NullPointerException & operator=(const NullPointerException &src)
Definition: exception.h:112
PoolException & operator=(const PoolException &)
PoolException(const PoolException &src)
PoolException(log4cxx_status_t stat)
RuntimeException is the parent class of those exceptions that can be thrown during the normal operati...
Definition: exception.h:54
RuntimeException & operator=(const RuntimeException &src)
RuntimeException(const RuntimeException &msg)
RuntimeException(log4cxx_status_t stat)
RuntimeException(const LogString &msg)
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
Definition: exception.h:213
SocketException(const SocketException &)
SocketException(log4cxx_status_t status)
SocketException & operator=(const SocketException &)
SocketException(const LogString &msg)
Signals that an I/O operation has been interrupted.
Definition: exception.h:275
SocketTimeoutException(const SocketTimeoutException &)
SocketTimeoutException & operator=(const SocketTimeoutException &)
Definition: exception.h:135
ThreadException(log4cxx_status_t stat)
ThreadException & operator=(const ThreadException &)
ThreadException(const LogString &msg)
ThreadException(const ThreadException &src)
Definition: exception.h:146
TranscoderException(const TranscoderException &src)
TranscoderException(log4cxx_status_t stat)
TranscoderException & operator=(const TranscoderException &)
Definition: configuration.h:25
std::basic_string< logchar > LogString
Definition: logstring.h:60