File Exceptions.h¶
- Copyright
This code is licensed under the 3-clause BSD license.
Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.
See LICENSE.txt for details.
-
namespace
Scine
-
namespace
Core
-
class
SettingsKeyError
: public exception - #include <Exceptions.h>
An Exception for an error when handling keys in settings.
Private Functions
-
const char *
what
() const¶
-
const char *
-
class
SettingsValueError
: public exception - #include <Exceptions.h>
An Exception for an error when handling values in settings.
Private Functions
-
const char *
what
() const¶
-
const char *
-
class
ClassNotImplementedError
: public exception - #include <Exceptions.h>
An Exception for an error when generating classes through a module-interface.
Private Functions
-
const char *
what
() const¶
-
const char *
-
class
FunctionNotImplementedError
: public exception - #include <Exceptions.h>
An Exception for an error when a function in a module-interface is not implemented.
Private Functions
-
const char *
what
() const¶
-
const char *
-
class
InvalidPropertiesException
: public runtime_error - #include <Exceptions.h>
Exception thrown when one requires properties from a calculation which cannot be calculated.
Public Functions
-
InvalidPropertiesException
(const Utils::PropertyList&)¶
-
-
class
CalculationException
: public runtime_error - #include <Exceptions.h>
Base class for exceptions thrown during calculations.
Subclassed by Scine::Core::EmptyMolecularStructureException, Scine::Core::InitializationException, Scine::Core::StateSavingException, Scine::Core::UnsuccessfulCalculationException
Protected Functions
-
CalculationException
(const std::string &s) protected ctor: instantiation only in derived classes.
-
-
class
InitializationException
: public Scine::Core::CalculationException - #include <Exceptions.h>
Exception thrown when a problem arises in the calculator initialization.
Public Functions
-
InitializationException
(const std::string &s)¶
-
-
class
EmptyMolecularStructureException
: public Scine::Core::CalculationException - #include <Exceptions.h>
Exception thrown when launching a calculation with an empty structure.
Public Functions
-
EmptyMolecularStructureException
()¶
-
-
class
UnsuccessfulCalculationException
: public Scine::Core::CalculationException - #include <Exceptions.h>
Exception thrown when a calculation is unsuccessful.
Public Functions
-
UnsuccessfulCalculationException
(const std::string &s)¶
-
-
class
StateSavingException
: public Scine::Core::CalculationException - #include <Exceptions.h>
Exception thrown for errors in state saving / resetting.
Public Functions
-
StateSavingException
(const std::string &s)¶
-
-
class
-
namespace