#include "blocxx/BLOCXX_config.h"#include "blocxx/Exception.hpp"Go to the source code of this file.
Namespaces | |
| namespace | BLOCXX_NAMESPACE |
Classes | |
| class | BLOCXX_NAMESPACE::AssertionException |
Defines | |
| #define | BLOCXX_ASSERT(CON) |
| BLOCXX_ASSERT works similar to the assert() macro, but instead of calling abort(), it throws an AssertionException. | |
| #define | BLOCXX_ASSERTMSG(CON, MSG) |
| BLOCXX_ASSERTMSG works the same as BLOCXX_ASSERT, but with a second string parameter that will be added to the exception message on failure. | |
| #define BLOCXX_ASSERT | ( | CON | ) |
BLOCXX_ASSERT works similar to the assert() macro, but instead of calling abort(), it throws an AssertionException.
| CON | The condition which will be evaluated. |
Definition at line 57 of file Assertion.hpp.
Referenced by BLOCXX_NAMESPACE::ServerSocketImpl::accept(), BLOCXX_NAMESPACE::BaseStreamBuffer::buffer_from_device(), BLOCXX_NAMESPACE::BaseStreamBuffer::buffer_to_device(), BLOCXX_NAMESPACE::UTF8Utils::charCount(), BLOCXX_NAMESPACE::CmdLineParser::CmdLineParser(), BLOCXX_NAMESPACE::SocketBaseImpl::connect(), BLOCXX_NAMESPACE::IConv_t::convert(), BLOCXX_NAMESPACE::Socket::createShutDownMechanism(), BLOCXX_NAMESPACE::ThreadCounter::decThreadCount(), BLOCXX_NAMESPACE::ServerSocketImpl::fillAddrParms(), BLOCXX_NAMESPACE::SocketAddress::getPort(), BLOCXX_NAMESPACE::Thread::join(), BLOCXX_NAMESPACE::Logger::Logger(), BLOCXX_NAMESPACE::String::operator[](), BLOCXX_NAMESPACE::Logger::processLogMessage(), BLOCXX_NAMESPACE::FileSystem::Path::realPath(), BLOCXX_NAMESPACE::Exec::safePopen(), BLOCXX_NAMESPACE::Select::selectRW(), BLOCXX_NAMESPACE::Select::selectRWEpoll(), BLOCXX_NAMESPACE::Select::selectRWPoll(), BLOCXX_NAMESPACE::Select::selectRWSelect(), BLOCXX_NAMESPACE::ServerSocketImpl::ServerSocketImpl(), BLOCXX_NAMESPACE::PosixUnnamedPipe::setBlocking(), BLOCXX_NAMESPACE::Logger::setDefaultComponent(), BLOCXX_NAMESPACE::Socket::shutdownAllSockets(), BLOCXX_NAMESPACE::SocketBaseImpl::SocketBaseImpl(), BLOCXX_NAMESPACE::String::String(), BLOCXX_NAMESPACE::UTF8Utils::StringToUCS2Common(), BLOCXX_NAMESPACE::ThreadBarrier::ThreadBarrier(), BLOCXX_NAMESPACE::ThreadBarrierImpl::ThreadBarrierImpl(), BLOCXX_NAMESPACE::Thread::threadRunner(), BLOCXX_NAMESPACE::ThreadImpl::threadStarter(), BLOCXX_NAMESPACE::SocketAddress::toString(), BLOCXX_NAMESPACE::UTF8Utils::UTF8toUCS4(), and BLOCXX_NAMESPACE::SocketUtils::waitForIO().
| #define BLOCXX_ASSERTMSG | ( | CON, | |||
| MSG | ) |
BLOCXX_ASSERTMSG works the same as BLOCXX_ASSERT, but with a second string parameter that will be added to the exception message on failure.
| CON | The condition which will be evaluated. | |
| MSG | The extra message. A C string literal. |
Definition at line 71 of file Assertion.hpp.
Referenced by BLOCXX_NAMESPACE::LogAppender::getLogLevel(), BLOCXX_NAMESPACE::initGuardAndKey(), and BLOCXX_NAMESPACE::Logger::setThreadLogger().
1.5.3