CernVM-FS  2.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
exception.h File Reference
#include <stdexcept>
#include <string>
#include "logging.h"
Include dependency graph for exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ECvmfsException
 

Macros

#define CVMFS_S1(x)   #x
 
#define CVMFS_S2(x)   CVMFS_S1(x)
 
#define CVMFS_SOURCE_LOCATION   "PANIC: " __FILE__ " : " CVMFS_S2(__LINE__)
 
#define PANIC(...)   Panic(CVMFS_SOURCE_LOCATION, kLogCvmfs, __VA_ARGS__);
 

Functions

void Panic (const char *coordinates, const LogSource source, const int mask, const char *format,...)
 
void Panic (const char *coordinates, const LogSource source, const char *nul)
 

Macro Definition Documentation

#define CVMFS_S1 (   x)    #x

Definition at line 23 of file exception.h.

#define CVMFS_S2 (   x)    CVMFS_S1(x)

Definition at line 24 of file exception.h.

#define CVMFS_SOURCE_LOCATION   "PANIC: " __FILE__ " : " CVMFS_S2(__LINE__)

Definition at line 25 of file exception.h.

#define PANIC (   ...)    Panic(CVMFS_SOURCE_LOCATION, kLogCvmfs, __VA_ARGS__);

Definition at line 26 of file exception.h.

Referenced by AbortIfHardlinked(), publish::SyncMediator::Add(), catalog::WritableCatalogManager::AddChunkedFile(), catalog::WritableCatalogManager::AddDirectory(), publish::SyncMediator::AddDirectory(), catalog::WritableCatalogManager::AddFile(), publish::SyncMediator::AddFile(), catalog::WritableCatalogManager::AddHardlinkGroup(), publish::SyncMediator::AddLocalHardlinkGroups(), FileBackedBuffer::Append(), anonymous_namespace{pack.cc}::AppendItemToHeader(), catalog::DeltaCounters::ApplyDelta(), dns::CallbackCares(), s3fanout::S3FanoutManager::CallbackCurlSocket(), catalog::WritableCatalogManager::CatalogUploadCallback(), catalog::WritableCatalogManager::CatalogUploadSerializedCallback(), FuseRemounter::Check(), publish::SyncItem::CheckCatalogMarker(), publish::SyncUnionOverlayfs::CheckForBrokenHardlink(), catalog::WritableCatalogManager::Clone(), catalog::WritableCatalogManager::CloneTree(), FileBackedBuffer::Commit(), NfsMapsSqlite::Create(), cipher::Cipher::Create(), dns::CaresResolver::Create(), CreateFile(), catalog::WritableCatalogManager::CreateNestedCatalog(), cvmfs::cvmfs_init(), CatalogDiffTool< RoCatalogMgr >::DiffRec(), FileSystemTraversal< T >::DoRecursion(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::DoTraverse(), publish::SyncMediator::EnsureAllowed(), swissknife::CommandCheck::FetchPath(), CacheTransport::FillMsgHash(), CacheTransport::FillObjectType(), shash::Final(), catalog::WritableCatalogManager::FinalizeCatalog(), NfsMapsLeveldb::FindInode(), JsonStringGenerator::JsonEntry::Format(), ItemAllocator::Free(), FuseMain(), upload::GatewayUploader::GatewayUploader(), s3fanout::S3FanoutManager::GetContentType(), shash::GetContextSize(), publish::SyncItem::GetGenericFiletype(), MagicXattrManager::GetListString(), NfsMapsSqlite::GetPath(), NfsMapsLeveldb::GetPath(), s3fanout::S3FanoutManager::GetRequestString(), publish::SyncItemNative::GetScratchFiletype(), OptionsManager::GetValueOrDie(), receiver::Reactor::HandleCheckToken(), receiver::Reactor::HandleCommit(), receiver::Reactor::HandleGenerateToken(), receiver::Reactor::HandleGetTokenId(), receiver::Reactor::HandleRequest(), receiver::Reactor::HandleSubmitPayload(), shash::Hmac256(), shash::Init(), s3fanout::S3FanoutManager::InitializeRequest(), download::DownloadManager::InitializeRequest(), catalog::WritableCatalogManager::IsTransitionPoint(), catalog::SimpleCatalogManager::LoadCatalog(), PosixQuotaManager::MainCommandServer(), CachePlugin::MainProcessRequests(), ExternalCacheManager::MainRead(), FuseRemounter::MainRemountTrigger(), loader::loader_talk::MainTalk(), s3fanout::S3FanoutManager::MainUpload(), Watchdog::MainWatchdogListener(), quota::MainWatchdogListener(), swissknife::MainWorker(), s3fanout::S3FanoutManager::MkPayloadHash(), TaskWrite::OnBlockComplete(), TaskWrite::OnChunkComplete(), SpecTree::Open(), StatisticsDatabase::OpenStandardDB(), SpecTree::Parse(), zlib::ParseCompressionAlgorithm(), PosixQuotaManager::ParseDirectories(), loader::ParseFuseOptions(), BashOptionsManager::ParsePath(), JsonDocument::PrintValue(), TaskHash::Process(), TaskWrite::Process(), TaskChunk::Process(), TaskRead::Process(), TaskScrubbingCallback::Process(), upload::TaskUpload::Process(), publish::SyncUnionTarball::ProcessArchiveEntry(), PosixQuotaManager::ProcessCommandBunch(), publish::SyncMediator::PublishFilesCallback(), publish::SyncMediator::PublishHardlinksCallback(), swissknife::CommandPull::Pull(), NfsMapsLeveldb::PutInode2Path(), SqliteMemoryManager::PutLookasideBuffer(), SqliteMemoryManager::PutMemory(), NfsMapsLeveldb::PutPath2Inode(), MagicXattrManager::Register(), PosixQuotaManager::RegisterBackChannel(), catalog::WritableCatalogManager::RemoveDirectory(), catalog::WritableCatalogManager::RemoveFile(), catalog::WritableCatalogManager::RemoveNestedCatalog(), receiver::CatalogMergeTool< RwCatalogMgr, RoCatalogMgr >::ReportModification(), swissknife::RootChainWalker::ReturnOrAbort(), SigningTool::Run(), upload::S3Uploader::S3Uploader(), FileBackedBuffer::SaveToFile(), CacheTransport::SendData(), CacheTransport::SendNonBlocking(), Watchdog::SetSignalHandlers(), dns::HostfileResolver::SetSystemSearchDomains(), shash::Sha256File(), shash::Sha256Mem(), catalog::WritableCatalogManager::ShrinkHardlinkGroup(), catalog::WritableCatalogManager::SnapshotCatalogsSerialized(), Watchdog::Spawn(), TubeConsumerGroup< FileItem >::Spawn(), PosixQuotaManager::Spawn(), swissknife::anonymous_namespace{swissknife_pull.cc}::SpoolerOnUpload(), NfsMapsLeveldb::ForkAwareEnv::StartThread(), swissknife::Store(), catalog::WritableCatalogManager::SwapNestedCatalog(), catalog::WritableCatalogManager::TouchDirectory(), publish::SyncUnionTarball::Traverse(), CacheTransport::Frame::UnwrapMsg(), shash::Update(), upload::SessionContext::UploadLoop(), catalog::WritableCatalog::VacuumDatabaseIfNecessary(), s3fanout::S3FanoutManager::VerifyAndFinalize(), download::DownloadManager::VerifyAndFinalize(), WaitForChild(), dns::CaresResolver::WaitOnCares(), CacheTransport::Frame::WrapMsg(), and FileBackedBuffer::~FileBackedBuffer().

Function Documentation

void Panic ( const char *  coordinates,
const LogSource  source,
const int  mask,
const char *  format,
  ... 
)

This file is part of the CernVM File System.

Definition at line 19 of file exception.cc.

Referenced by Panic().

Here is the call graph for this function:

Here is the caller graph for this function:

void Panic ( const char *  coordinates,
const LogSource  source,
const char *  nul 
)

Definition at line 52 of file exception.cc.

Here is the call graph for this function: