IMP logo
IMP Reference Guide  2.21.0
The Integrative Modeling Platform
IMP::EventException Class Reference

An exception that signifies some event occurred. More...

#include <IMP/exception.h>

+ Inheritance diagram for IMP::EventException:

Detailed Description

An exception that signifies some event occurred.

It is difficult to add exceptions to the Python wrappers, so use this type if want to raise an exception when something happens.

We can add event types later via a key.

Definition at line 203 of file exception.h.

Public Member Functions

 EventException (const EventException &)=default
 
 EventException (const char *t="")
 Create exception with an error message. More...
 
EventExceptionoperator= (const EventException &)=default
 
- Public Member Functions inherited from IMP::Exception
 Exception (const Exception &)=default
 
 Exception (const char *message)
 
Exceptionoperator= (const Exception &)=default
 
const char * what () const noexcept
 

Constructor & Destructor Documentation

IMP::EventException::EventException ( const char *  t = "")

Create exception with an error message.

Definition at line 207 of file exception.h.


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