IMP  2.0.0
The Integrative Modeling Platform
IMP::base::ModelException Class Reference

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

#include <IMP/base/exception.h>

+ Inheritance diagram for IMP::base::ModelException:

Public Member Functions

 ModelException (const char *t)
 Create exception with an error message.
 
- Public Member Functions inherited from IMP::base::Exception
 Exception (const char *message)
 
const char * what () const throw ()
 

Detailed Description

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 190 of file base/exception.h.


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