18 #ifndef _LOG4CXX_HELPERS_EXCEPTION_H
19 #define _LOG4CXX_HELPERS_EXCEPTION_H
22 #include <log4cxx/log4cxx.h>
27 #pragma warning ( push )
28 #pragma warning (disable : 4275)
29 #pragma warning (disable : 4251)
39 class LOG4CXX_EXPORT
Exception :
public ::std::exception
46 const char*
what()
const throw();
48 #if !LOG4CXX_LOGCHAR_IS_UTF8
49 static std::string
makeMessage(
const char* type, log4cxx_status_t stat);
66 static LogString formatMessage(log4cxx_status_t stat);
102 #if !LOG4CXX_LOGCHAR_IS_UTF8
108 static LogString formatMessage(log4cxx_status_t stat);
115 #if !LOG4CXX_LOGCHAR_IS_UTF8
141 static LogString formatMessage(log4cxx_status_t stat);
153 static LogString formatMessage(log4cxx_status_t stat);
165 static LogString formatMessage(log4cxx_status_t stat);
175 static LogString formatMessage(log4cxx_status_t stat);
310 #if defined(_MSC_VER)
311 #pragma warning (pop)
Signals that an error occurred while attempting to bind a socket to a local address and port.
Definition: exception.h:270
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:206
ClassNotFoundException(const LogString &className)
ClassNotFoundException(const ClassNotFoundException &msg)
ClassNotFoundException & operator=(const ClassNotFoundException &msg)
Definition: exception.h:258
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:249
ConnectException & operator=(const ConnectException &)
ConnectException(const LogString &msg)
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:40
Exception(const LogString &msg)
Exception & operator=(const Exception &src)
static std::string makeMessage(const char *type, log4cxx_status_t stat)
const char * what() const
Exception(const char *msg)
Exception(const Exception &src)
Signals that an I/O exception of some sort has occurred.
Definition: exception.h:95
IOException & operator=(const IOException &)
IOException(const char *msg)
IOException(log4cxx_status_t stat)
IOException(const char *msg, log4cxx_status_t stat)
IOException(const LogString &type, log4cxx_status_t stat)
IOException(const LogString &msg)
IOException(const IOException &src)
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Definition: exception.h:83
IllegalArgumentException & operator=(const IllegalArgumentException &)
IllegalArgumentException(const LogString &msg)
IllegalArgumentException(const IllegalArgumentException &)
Definition: exception.h:180
IllegalMonitorStateException & operator=(const IllegalMonitorStateException &msg)
IllegalMonitorStateException(const IllegalMonitorStateException &msg)
IllegalMonitorStateException(const LogString &msg)
Definition: exception.h:225
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:193
InstantiationException(const InstantiationException &msg)
InstantiationException(const LogString &msg)
InstantiationException & operator=(const InstantiationException &msg)
Definition: exception.h:146
InterruptedException(const InterruptedException &src)
InterruptedException(log4cxx_status_t stat)
InterruptedException & operator=(const InterruptedException &)
Signals that an I/O operation has been interrupted.
Definition: exception.h:284
InterruptedIOException(const InterruptedIOException &)
InterruptedIOException & operator=(const InterruptedIOException &)
InterruptedIOException(const LogString &msg)
Definition: exception.h:125
MissingResourceException(const LogString &key)
MissingResourceException & operator=(const MissingResourceException &)
MissingResourceException(const MissingResourceException &src)
Definition: exception.h:217
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:73
NullPointerException(const LogString &msg)
NullPointerException(const NullPointerException &msg)
NullPointerException & operator=(const NullPointerException &src)
Definition: exception.h:135
PoolException(const PoolException &src)
PoolException(log4cxx_status_t stat)
PoolException & operator=(const PoolException &)
RuntimeException is the parent class of those exceptions that can be thrown during the normal operati...
Definition: exception.h:59
RuntimeException(const RuntimeException &msg)
RuntimeException & operator=(const RuntimeException &src)
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:236
SocketException & operator=(const SocketException &)
SocketException(const SocketException &)
SocketException(log4cxx_status_t status)
SocketException(const LogString &msg)
Signals that an I/O operation has been interrupted.
Definition: exception.h:299
SocketTimeoutException(const SocketTimeoutException &)
SocketTimeoutException & operator=(const SocketTimeoutException &)
Definition: exception.h:112
SubProcessFailure & operator=(const SubProcessFailure &)
static LogString makeMessage(const LogString &processName, int exitCode, int exitWhy)
SubProcessFailure(const LogString &processName, int exitCode, int exitWhy)
SubProcessFailure(const char *processName, int exitCode, int exitWhy)
SubProcessFailure(const SubProcessFailure &src)
Definition: exception.h:158
ThreadException(log4cxx_status_t stat)
ThreadException(const LogString &msg)
ThreadException & operator=(const ThreadException &)
ThreadException(const ThreadException &src)
Definition: exception.h:169
TranscoderException(const TranscoderException &src)
TranscoderException(log4cxx_status_t stat)
TranscoderException & operator=(const TranscoderException &)
std::basic_string< logchar > LogString
Definition: logstring.h:60