|
Apache Log4cxx
Version 1.5.0
|
Go to the documentation of this file.
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) // ::std::exception needs to have dll-interface
37 class LOG4CXX_EXPORT
Exception :
public ::std::exception
44 const char*
what()
const throw();
47 enum { MSG_SIZE = 128 };
48 char msg[MSG_SIZE + 1];
62 static LogString formatMessage(log4cxx_status_t stat);
100 static LogString formatMessage(log4cxx_status_t stat);
120 static LogString formatMessage(log4cxx_status_t stat);
132 static LogString formatMessage(log4cxx_status_t stat);
144 static LogString formatMessage(log4cxx_status_t stat);
154 static LogString formatMessage(log4cxx_status_t stat);
288 #if defined(_MSC_VER)
289 #pragma warning (pop)
292 #endif // _LOG4CXX_HELPERS_EXCEPTION_H
Definition: exception.h:196
SocketException(const LogString &msg)
std::basic_string< logchar > LogString
Definition: logstring.h:60
Definition: exception.h:137
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Definition: exception.h:79
Thrown when an application tries to load in a class through its string name but no definition for the...
Definition: exception.h:185
NullPointerException & operator=(const NullPointerException &src)
IllegalArgumentException(const LogString &msg)
BindException(log4cxx_status_t status)
SocketTimeoutException & operator=(const SocketTimeoutException &)
InstantiationException & operator=(const InstantiationException &msg)
MissingResourceException & operator=(const MissingResourceException &)
InterruptedException(const InterruptedException &src)
InterruptedException(log4cxx_status_t stat)
ThreadException(log4cxx_status_t stat)
IllegalArgumentException(const IllegalArgumentException &)
NullPointerException(const NullPointerException &msg)
Exception(const LogString &msg)
ConnectException(log4cxx_status_t status)
SocketException(log4cxx_status_t status)
ThreadException & operator=(const ThreadException &)
IOException(const LogString &msg)
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
Definition: exception.h:215
IllegalStateException & operator=(const IllegalStateException &)
ConnectException(const ConnectException &src)
ClassNotFoundException(const LogString &className)
Signals that an I/O operation has been interrupted.
Definition: exception.h:277
Exception(const char *msg)
Thrown when an application attempts to use null in a case where an object is required.
Definition: exception.h:69
Definition: exception.h:148
TranscoderException(const TranscoderException &src)
PoolException & operator=(const PoolException &)
Signals that an error occurred while attempting to bind a socket to a local address and port.
Definition: exception.h:248
Definition: exception.h:104
The class Exception and its subclasses indicate conditions that a reasonable application might want t...
Definition: exception.h:38
IllegalMonitorStateException & operator=(const IllegalMonitorStateException &msg)
Exception(const Exception &src)
IOException & operator=(const IOException &)
IOException(const LogString &type, log4cxx_status_t stat)
MissingResourceException(const MissingResourceException &src)
Definition: exception.h:204
BindException(const BindException &)
Signals that an error occurred while attempting to connect a socket to a remote address and port.
Definition: exception.h:228
InterruptedException & operator=(const InterruptedException &)
Signals that an I/O operation has been interrupted.
Definition: exception.h:262
InstantiationException(const InstantiationException &msg)
BindException & operator=(const BindException &)
InterruptedIOException(const LogString &msg)
NullPointerException(const LogString &msg)
PoolException(log4cxx_status_t stat)
Definition: exception.h:125
InterruptedIOException(const InterruptedIOException &)
IllegalArgumentException & operator=(const IllegalArgumentException &)
Definition: exception.h:114
TranscoderException(log4cxx_status_t stat)
MissingResourceException(const LogString &key)
IOException(const IOException &src)
InstantiationException(const LogString &msg)
RuntimeException(const RuntimeException &msg)
IOException(log4cxx_status_t stat)
TranscoderException & operator=(const TranscoderException &)
SocketException & operator=(const SocketException &)
ThreadException(const LogString &msg)
IllegalStateException(const IllegalStateException &)
ThreadException(const ThreadException &src)
Definition: exception.h:236
RuntimeException & operator=(const RuntimeException &src)
PoolException(const PoolException &src)
IllegalMonitorStateException(const LogString &msg)
InterruptedIOException & operator=(const InterruptedIOException &)
SocketException(const SocketException &)
RuntimeException(const LogString &msg)
Exception & operator=(const Exception &src)
const char * what() const
Definition: exception.h:159
SocketTimeoutException(const SocketTimeoutException &)
NoSuchElementException(const NoSuchElementException &)
Thrown when an application tries to create an instance of a class using the newInstance method in cla...
Definition: exception.h:172
RuntimeException(log4cxx_status_t stat)
ClosedChannelException & operator=(const ClosedChannelException &)
NoSuchElementException & operator=(const NoSuchElementException &)
IllegalMonitorStateException(const IllegalMonitorStateException &msg)
ConnectException & operator=(const ConnectException &)
ClosedChannelException(const ClosedChannelException &src)
ClassNotFoundException(const ClassNotFoundException &msg)
ClassNotFoundException & operator=(const ClassNotFoundException &msg)
Signals that an I/O exception of some sort has occurred.
Definition: exception.h:91
RuntimeException is the parent class of those exceptions that can be thrown during the normal operati...
Definition: exception.h:55