IMP  2.4.0
The Integrative Modeling Platform
Public Member Functions | List of all members
IMP::base::ModelException Class Reference

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

#include <IMP/base/exception.h>

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

Detailed Description

An exception which is thrown when the kernel::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 179 of file exception.h.

Public Member Functions

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

Constructor & Destructor Documentation

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

Create exception with an error message.

Definition at line 183 of file exception.h.


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