Regina 7.3 Calculation Engine
Classes | Namespaces
exception.h File Reference

Defines some general exception types thrown by Regina. Note that some exceptions that are specific to a particular piece of machinery (e.g., snapshotting, or errors within the SnapPea kernel) are defined in other headers alongside that machinery. More...

#include <stdexcept>
#include <string>
#include "regina-core.h"

Classes

class  regina::ReginaException
 A base class for all of the exceptions that are thrown by Regina's native mathematical code. More...
 
class  regina::FailedPrecondition
 An exception thrown when a function detects that its preconditions have been violated. More...
 
class  regina::InvalidArgument
 An exception thrown when invalid or unsupported arguments are passed into a function. More...
 
class  regina::InvalidInput
 An exception thrown when a function reads unexpected or incomplete data from an input stream. More...
 
class  regina::NotImplemented
 An exception thrown when some functionality is not yet implemented. More...
 
class  regina::FileError
 An exception thrown when trying to access data from the filesystem. More...
 
class  regina::NoSolution
 An exception thrown when Regina has certified that a mathematical problem has no solution. More...
 
class  regina::UnsolvedCase
 An exception thrown when a mathematical function is not able to solve a particular instance of a problem. More...
 
class  regina::SnapPeaUnsolvedCase
 An exception thrown when the SnapPea kernel is not able to perform some computation. More...
 
class  regina::SnapPeaIsNull
 An exception thrown when the SnapPea kernel is asked to work with a null SnapPea triangulation. More...
 

Namespaces

namespace  regina
 Contains the entire Regina calculation engine.
 

Detailed Description

Defines some general exception types thrown by Regina. Note that some exceptions that are specific to a particular piece of machinery (e.g., snapshotting, or errors within the SnapPea kernel) are defined in other headers alongside that machinery.


Copyright © 1999-2023, 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).