Exceptions¶
Exceptions are located in the file likelihood/errors.h.
-
class
DCProgs::errors::Root¶ All explicit DCProgs exception derive from this, for easy catching,.
Inherits from std::exception
Subclassed by DCProgs::errors::Index, DCProgs::errors::Math, DCProgs::errors::NotImplemented, DCProgs::errors::Python, DCProgs::errors::Runtime
General¶
-
class
DCProgs::errors::Index¶ Index error.
Inherits from DCProgs::errors::Root, std::out_of_range
-
class
DCProgs::errors::Runtime¶ Runtime error which carries a message.
Inherits from DCProgs::errors::Root
-
class
DCProgs::errors::NotImplemented¶ NotImplemented error which carries a message.
Inherits from DCProgs::errors::Root
Math¶
-
class
DCProgs::errors::Math¶ Math (convergence, domain, etc) error.
Inherits from DCProgs::errors::Root
Subclassed by DCProgs::errors::Domain, DCProgs::errors::Mass
-
class
DCProgs::errors::Mass¶ Math error which carries a message.
Inherits from DCProgs::errors::Math
Subclassed by DCProgs::errors::ComplexEigenvalues, DCProgs::errors::MaxIterations, DCProgs::errors::NaN
-
class
DCProgs::errors::ComplexEigenvalues¶ Found unexpected complex eigenvalues.
Inherits from DCProgs::errors::Mass
-
class
DCProgs::errors::NaN¶ Found a Not a Number.
Inherits from DCProgs::errors::Mass
-
class
DCProgs::errors::Domain¶ Input error to a math problem.
Inherits from DCProgs::errors::Math, std::domain_error
Subclassed by DCProgs::errors::NotInvertible
-
class
DCProgs::errors::MaxIterations¶ Thrown when the maximum number of iterations is reached.
Inherits from DCProgs::errors::Mass
-
class
DCProgs::errors::NotInvertible¶ Matrix is not invertible.
Inherits from DCProgs::errors::Domain
Python¶
-
class
DCProgs::errors::Python¶ Exception thrown in python modules.
Inherits from DCProgs::errors::Root
Subclassed by DCProgs::errors::PythonErrorAlreadyThrown, DCProgs::errors::PythonTypeError, DCProgs::errors::PythonValueError
-
class
DCProgs::errors::PythonErrorAlreadyThrown¶ Exception was thrown by python API.
This is a convenience exception that can be thrown when a python api has set an error. It allows us to easily escape from the current scope, while keeping the python exception as it is.
Inherits from DCProgs::errors::Python
-
class
DCProgs::errors::PythonTypeError¶ Exception thrown in python module when converting to C types.
Inherits from DCProgs::errors::Python
-
class
DCProgs::errors::PythonValueError¶ Exception thrown in python module when converting to C types.
Inherits from DCProgs::errors::Python