Regina Calculation Engine
Public Member Functions | Public Attributes | List of all members
regina::SnapPeaFatalError Struct Reference


An exception that is thrown when the SnapPea kernel encounters a fatal error. More...

#include <snappea/snappeatriangulation.h>

Inheritance diagram for regina::SnapPeaFatalError:
regina::SnapPeaException

Public Member Functions

 SnapPeaFatalError (const char *fromFunction, const char *fromFile)
 Creates a new exception, indicating where in the SnapPea kernel the error occurred. More...
 
 SnapPeaFatalError (const SnapPeaFatalError &)=default
 Clones the given exception. More...
 
SnapPeaFatalErroroperator= (const SnapPeaFatalError &)=default
 Sets this to a copy of the given exception. More...
 

Public Attributes

std::string function
 The function from the SnapPea kernel in which the fatal error occurred. More...
 
std::string file
 The source file from the SnapPea kernel in which the fatal error occurred. More...
 

Detailed Description


An exception that is thrown when the SnapPea kernel encounters a fatal error.

Python
Not present.

Constructor & Destructor Documentation

◆ SnapPeaFatalError() [1/2]

regina::SnapPeaFatalError::SnapPeaFatalError ( const char *  fromFunction,
const char *  fromFile 
)
inline

Creates a new exception, indicating where in the SnapPea kernel the error occurred.

Parameters
fromFunctionthe function from the SnapPea kernel in which the error occurred.
fromFilethe source file from the SnapPea kernel in which the error occurred.

◆ SnapPeaFatalError() [2/2]

regina::SnapPeaFatalError::SnapPeaFatalError ( const SnapPeaFatalError )
default

Clones the given exception.

Member Function Documentation

◆ operator=()

SnapPeaFatalError& regina::SnapPeaFatalError::operator= ( const SnapPeaFatalError )
default

Sets this to a copy of the given exception.

Member Data Documentation

◆ file

std::string regina::SnapPeaFatalError::file

The source file from the SnapPea kernel in which the fatal error occurred.

◆ function

std::string regina::SnapPeaFatalError::function

The function from the SnapPea kernel in which the fatal error occurred.


The documentation for this struct was generated from the following file:

Copyright © 1999-2021, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).