IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::IndexException Class Reference

An exception for a request for an invalid member of a container. More...

#include <IMP/exception.h>

Inheritance diagram for IMP::IndexException:

Detailed Description

An exception for a request for an invalid member of a container.

The equivalent Python type also derives from Python's IndexError.

Definition at line 156 of file exception.h.

Public Member Functions

 IndexException (const char *t)
 Create exception with an error message.
 IndexException (const IndexException &)=default
IndexException & operator= (const IndexException &)=default
Public Member Functions inherited from IMP::Exception
 Exception (const char *message)
 Exception (const Exception &)=default
Exception & operator= (const Exception &)=default
const char * what () const noexcept

Constructor & Destructor Documentation

◆ IndexException()

IMP::IndexException::IndexException ( const char * t)

Create exception with an error message.

Definition at line 160 of file exception.h.


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