Exceptions.h
Go to the documentation of this file.
//$$FILE$$
//$$VERSION$$
//$$DATE$$
//$$LICENSE$$
#ifndef EXCEPTIONS_H
#define EXCEPTIONS_H
#include <stdexcept>
#include <string>
class RcsbException : public std::exception
{
protected:
std::string _message;
public:
RcsbException(const std::string& message = std::string(),
const std::string& location = std::string());
~RcsbException() throw();
void AppendMessage(const std::string& message = std::string(),
const std::string& location = std::string());
const char* what() const throw();
};
class EmptyValueException : public RcsbException
{
public:
EmptyValueException(const std::string& message = std::string(),
const std::string& location = std::string());
~EmptyValueException() throw();
};
class NotFoundException : public RcsbException
{
public:
NotFoundException(const std::string& message = std::string(),
const std::string& location = std::string());
~NotFoundException() throw();
};
class AlreadyExistsException : public RcsbException
{
public:
AlreadyExistsException(const std::string& message = std::string(),
const std::string& location = std::string());
~AlreadyExistsException() throw();
};
class EmptyContainerException : public RcsbException
{
public:
EmptyContainerException(const std::string& message = std::string(),
const std::string& location = std::string());
~EmptyContainerException() throw();
};
class FileModeException : public RcsbException
{
public:
FileModeException(const std::string& message = std::string(),
const std::string& location = std::string());
~FileModeException() throw();
};
class InvalidStateException : public RcsbException
{
public:
InvalidStateException(const std::string& message = std::string(),
const std::string& location = std::string());
~InvalidStateException() throw();
};
class FileException : public RcsbException
{
public:
FileException(const std::string& message = std::string(),
const std::string& location = std::string());
~FileException() throw();
};
class InvalidOptionsException : public RcsbException
{
public:
InvalidOptionsException(const std::string& message = std::string(),
const std::string& location = std::string());
~InvalidOptionsException() throw();
};
class VersionMismatchException : public RcsbException
{
public:
VersionMismatchException(const std::string& message = std::string(),
const std::string& location = std::string());
~VersionMismatchException() throw();
};
#endif
AlreadyExistsException::AlreadyExistsException
AlreadyExistsException(const std::string &message=std::string(), const std::string &location=std::string())
AlreadyExistsException::~AlreadyExistsException
~AlreadyExistsException()
EmptyContainerException::~EmptyContainerException
~EmptyContainerException()
EmptyContainerException::EmptyContainerException
EmptyContainerException(const std::string &message=std::string(), const std::string &location=std::string())
EmptyValueException::EmptyValueException
EmptyValueException(const std::string &message=std::string(), const std::string &location=std::string())
EmptyValueException::~EmptyValueException
~EmptyValueException()
FileException::~FileException
~FileException()
FileException::FileException
FileException(const std::string &message=std::string(), const std::string &location=std::string())
FileModeException::~FileModeException
~FileModeException()
FileModeException::FileModeException
FileModeException(const std::string &message=std::string(), const std::string &location=std::string())
InvalidOptionsException::~InvalidOptionsException
~InvalidOptionsException()
InvalidOptionsException::InvalidOptionsException
InvalidOptionsException(const std::string &message=std::string(), const std::string &location=std::string())
InvalidStateException::InvalidStateException
InvalidStateException(const std::string &message=std::string(), const std::string &location=std::string())
InvalidStateException::~InvalidStateException
~InvalidStateException()
NotFoundException::~NotFoundException
~NotFoundException()
NotFoundException::NotFoundException
NotFoundException(const std::string &message=std::string(), const std::string &location=std::string())
RcsbException::_message
std::string _message
Definition Exceptions.h:26
RcsbException::RcsbException
RcsbException(const std::string &message=std::string(), const std::string &location=std::string())
RcsbException::AppendMessage
void AppendMessage(const std::string &message=std::string(), const std::string &location=std::string())
RcsbException::~RcsbException
~RcsbException()
RcsbException::what
const char * what() const
VersionMismatchException::~VersionMismatchException
~VersionMismatchException()
VersionMismatchException::VersionMismatchException
VersionMismatchException(const std::string &message=std::string(), const std::string &location=std::string())