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

 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

#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.