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)
39class 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);
311 #pragma warning (pop)
BindException(const BindException &)
BindException & operator=(const BindException &)
BindException(log4cxx_status_t status)
ClassNotFoundException(const LogString &className)
ClassNotFoundException(const ClassNotFoundException &msg)
ClassNotFoundException & operator=(const ClassNotFoundException &msg)
ClosedChannelException(const ClosedChannelException &src)
ClosedChannelException & operator=(const ClosedChannelException &)
ConnectException & operator=(const ConnectException &)
ConnectException(const LogString &msg)
ConnectException(const ConnectException &src)
ConnectException(log4cxx_status_t status)
Exception(const LogString &msg)
static LogString makeMessage(const LogString &type, log4cxx_status_t stat)
const char * what() const
static std::string makeMessage(const char *type, log4cxx_status_t stat)
Exception & operator=(const Exception &src)
Exception(const char *msg)
Exception(const Exception &src)
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)
IOException & operator=(const IOException &)
IllegalArgumentException(const LogString &msg)
IllegalArgumentException & operator=(const IllegalArgumentException &)
IllegalArgumentException(const IllegalArgumentException &)
IllegalMonitorStateException(const IllegalMonitorStateException &msg)
IllegalMonitorStateException(const LogString &msg)
IllegalMonitorStateException & operator=(const IllegalMonitorStateException &msg)
IllegalStateException & operator=(const IllegalStateException &)
IllegalStateException(const IllegalStateException &)
InstantiationException & operator=(const InstantiationException &msg)
InstantiationException(const InstantiationException &msg)
InstantiationException(const LogString &msg)
InterruptedException(const InterruptedException &src)
InterruptedException & operator=(const InterruptedException &)
InterruptedException(log4cxx_status_t stat)
InterruptedIOException(const InterruptedIOException &)
InterruptedIOException(const LogString &msg)
InterruptedIOException & operator=(const InterruptedIOException &)
MissingResourceException(const LogString &key)
MissingResourceException & operator=(const MissingResourceException &)
MissingResourceException(const MissingResourceException &src)
NoSuchElementException(const NoSuchElementException &)
NoSuchElementException & operator=(const NoSuchElementException &)
NullPointerException(const LogString &msg)
NullPointerException(const NullPointerException &msg)
NullPointerException & operator=(const NullPointerException &src)
PoolException & operator=(const PoolException &)
PoolException(const PoolException &src)
PoolException(log4cxx_status_t stat)
RuntimeException & operator=(const RuntimeException &src)
RuntimeException(const RuntimeException &msg)
RuntimeException(log4cxx_status_t stat)
RuntimeException(const LogString &msg)
SocketException(const SocketException &)
SocketException(log4cxx_status_t status)
SocketException & operator=(const SocketException &)
SocketException(const LogString &msg)
SocketTimeoutException(const SocketTimeoutException &)
SocketTimeoutException & operator=(const SocketTimeoutException &)
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)
ThreadException(log4cxx_status_t stat)
ThreadException & operator=(const ThreadException &)
ThreadException(const LogString &msg)
ThreadException(const ThreadException &src)
TranscoderException(const TranscoderException &src)
TranscoderException(log4cxx_status_t stat)
TranscoderException & operator=(const TranscoderException &)
std::basic_string< logchar > LogString
Definition logstring.h:60