RMF
exceptions.h File Reference

Declarations of the various exception types. More...

#include <boost/exception/exception.hpp>
#include <exception>
#include <string>
#include "RMF/config.h"
#include "compiler_macros.h"
#include "RMF/internal/errors.h"
Include dependency graph for exceptions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RMF::Exception
class  RMF::IndexException
class  RMF::InternalException
class  RMF::IOException
class  RMF::UsageException

Namespaces

namespace  RMF
 The namespace for all functionality in the library.

Macros

#define RMF_IF_CHECK   if (true)
#define RMF_INDEX_CHECK(value, end)
#define RMF_INTERNAL_CHECK(check, message)
#define RMF_NOT_IMPLEMENTED
#define RMF_PATH_CHECK(path)
#define RMF_RETHROW(m, e)
#define RMF_THROW(m, e)
#define RMF_USAGE_CHECK(check, message)

Functions

std::string RMF::get_message (const Exception &e)

Detailed Description

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file exceptions.h.

Macro Definition Documentation

◆ RMF_IF_CHECK

#define RMF_IF_CHECK   if (true)

Definition at line 137 of file exceptions.h.

◆ RMF_INDEX_CHECK

#define RMF_INDEX_CHECK ( value,
end )
Value:
RMF_USAGE_CHECK( \
static_cast<unsigned int>(value) < static_cast<unsigned int>(end), \
"Out of range index");

Definition at line 115 of file exceptions.h.

◆ RMF_INTERNAL_CHECK

#define RMF_INTERNAL_CHECK ( check,
message )

Definition at line 127 of file exceptions.h.

◆ RMF_NOT_IMPLEMENTED

#define RMF_NOT_IMPLEMENTED

Definition at line 145 of file exceptions.h.

◆ RMF_PATH_CHECK

#define RMF_PATH_CHECK ( path)

Definition at line 120 of file exceptions.h.

◆ RMF_RETHROW

#define RMF_RETHROW ( m,
e )

Definition at line 96 of file exceptions.h.

◆ RMF_THROW

#define RMF_THROW ( m,
e )

Definition at line 85 of file exceptions.h.

◆ RMF_USAGE_CHECK

#define RMF_USAGE_CHECK ( check,
message )

Definition at line 108 of file exceptions.h.