Regina 7.3 Calculation Engine
Public Member Functions | List of all members
regina::SnapshotWriteError Class Reference

An exception thrown when someone tries to modify the read-only deep copy taken by a snapshot. More...

#include <utilities/snapshot.h>

Inheritance diagram for regina::SnapshotWriteError:

Public Member Functions

 SnapshotWriteError () noexcept=default
 Creates a new exception. More...
 
 SnapshotWriteError (const SnapshotWriteError &) noexcept=default
 Creates a new copy of the given exception. More...
 
SnapshotWriteErroroperator= (const SnapshotWriteError &) noexcept=default
 Sets this to be a copy of the given exception. More...
 
const char * what () const noexcept override
 Returns a human-readable description of the error that occurred. More...
 

Detailed Description

An exception thrown when someone tries to modify the read-only deep copy taken by a snapshot.

See the Snapshot class notes for more information.

Constructor & Destructor Documentation

◆ SnapshotWriteError() [1/2]

regina::SnapshotWriteError::SnapshotWriteError ( )
defaultnoexcept

Creates a new exception.

◆ SnapshotWriteError() [2/2]

regina::SnapshotWriteError::SnapshotWriteError ( const SnapshotWriteError )
defaultnoexcept

Creates a new copy of the given exception.

Member Function Documentation

◆ operator=()

SnapshotWriteError & regina::SnapshotWriteError::operator= ( const SnapshotWriteError )
defaultnoexcept

Sets this to be a copy of the given exception.

◆ what()

const char * regina::SnapshotWriteError::what ( ) const
inlineoverridenoexcept

Returns a human-readable description of the error that occurred.


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

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).