IMP logo
IMP Reference Guide  2.18.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 char *t)
 Create exception with an error message. More...
 
- Public Member Functions inherited from IMP::Exception
 Exception (const char *message)
 
const char * what () const throw ()
 

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: