IMP logo
IMP Reference Guide  2.22.0
The Integrative Modeling Platform
IMP::UsageException Class Reference

An exception for an invalid usage of IMP. More...

#include <IMP/exception.h>

Detailed Description

An exception for an invalid usage of IMP.

It is thrown by the IMP_USAGE_CHECK() macro. It should never be caught internally to IMP, but it one may be able to recover from it being thrown.

Advanced:
As the usage checks are disabled in fast mode, UsageExceptions are not considered part of the API and hence should not be documented or checked in test cases.

Definition at line 122 of file exception.h.

Public Member Functions

 UsageException (const UsageException &)=default
 
 UsageException (const char *t)
 
UsageExceptionoperator= (const UsageException &)=default
 

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