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.

Public Member Functions | |
| ModelException (const char *t) | |
| Create exception with an error message. | |