Regina 7.0 Calculation Engine
|
An exception thrown when the SnapPea kernel is asked to work with a null SnapPea triangulation. More...
#include <utilities/exception.h>
Public Member Functions | |
SnapPeaIsNull (const char *fromFunction) | |
Creates a new exception, and marks it as having occurred within the given Regina function. More... | |
SnapPeaIsNull (const SnapPeaIsNull &) noexcept=default | |
Creates a new copy of the given exception. More... | |
SnapPeaIsNull & | operator= (const SnapPeaIsNull &) noexcept=default |
Sets this to be a copy of the given exception. More... | |
An exception thrown when the SnapPea kernel is asked to work with a null SnapPea triangulation.
This is a "regular" exception type derived from ReginaException, and is typically thrown in scenarios where the user asks Regina to call some SnapPea kernel function but Regina has no native SnapPea triangulation to call it with. This is contrast to SnapPeaFatalError and SnapPeaMemoryFull, which are more severe errors that occur within the SnapPea kernel when it aborts processing unexpectedly, and which are not part of the regular ReginaException class hierarchy.
Note that the constructor for this exception class follows a different pattern from most of Regina's exception classes.
|
inline |
Creates a new exception, and marks it as having occurred within the given Regina function.
fromFunction | the name of the Regina function that the user called (in particular, this is not the name of the SnapPea kernel function that would have been called as a result). An example might be "SnapPeaTriangulation::homologyFilled". |
|
defaultnoexcept |
Creates a new copy of the given exception.
|
defaultnoexcept |
Sets this to be a copy of the given exception.