IMP logo
IMP Reference Guide  2.21.0
The Integrative Modeling Platform
IMP::ModelException Class Reference

An exception which is thrown when the Model has attributes with invalid values. More...

#include <IMP/exception.h>

+ Inheritance diagram for IMP::ModelException:

Detailed Description

An exception which is thrown when the Model has attributes with invalid values.

It may be OK to catch an IMP ModelException, when, for example, the catcher can simply re-randomize the optimized coordinates and restart the optimization. Sampling protocols, such as IMP::core::MCCGSampler, tend to do this.

Definition at line 188 of file exception.h.

Public Member Functions

 ModelException (const ModelException &)=default
 
 ModelException (const char *t)
 Create exception with an error message. More...
 
ModelExceptionoperator= (const ModelException &)=default
 
- Public Member Functions inherited from IMP::Exception
 Exception (const Exception &)=default
 
 Exception (const char *message)
 
Exceptionoperator= (const Exception &)=default
 
const char * what () const noexcept
 

Constructor & Destructor Documentation

IMP::ModelException::ModelException ( const char *  t)

Create exception with an error message.

Definition at line 192 of file exception.h.


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