Class AmiException¶
Defined in File exception.h
Inheritance Relationships¶
Base Type¶
public std::exception
Derived Types¶
public amici::CvodeException
(Class CvodeException)public amici::IDAException
(Class IDAException)public amici::IntegrationFailure
(Class IntegrationFailure)public amici::IntegrationFailureB
(Class IntegrationFailureB)public amici::NewtonFailure
(Class NewtonFailure)public amici::SetupFailure
(Class SetupFailure)
Class Documentation¶
-
class
amici
::
AmiException
: public std::exception¶ AMICI exception class.
Has a printf style interface to allow easy generation of error messages
Subclassed by amici::CvodeException, amici::IDAException, amici::IntegrationFailure, amici::IntegrationFailureB, amici::NewtonFailure, amici::SetupFailure
Public Functions
-
AmiException
(char const *fmt, ...)¶ Constructor with printf style interface.
- Parameters
fmt
: error message with printf format...
: printf formatting variables
-
const char *
what
() const noexcept override¶ Override of default error message function.
- Return
msg error message
-
const char *
getBacktrace
() const¶ Returns the stored backtrace.
- Return
trace backtrace
-
void
storeBacktrace
(int nMaxFrames)¶ Stores the current backtrace.
- Parameters
nMaxFrames
: number of frames to go back in stacktrace
-