svMultiPhysics
Loading...
Searching...
No Matches
List of all members
svmp::IndexOutOfRangeException Class Reference

An index is outside its valid range. More...

#include <Exception.h>

Inheritance diagram for svmp::IndexOutOfRangeException:
[legend]

Additional Inherited Members

- Public Member Functions inherited from svmp::CoreException
 CoreException (const std::string &message, StatusCode status=StatusCode::Unknown, const char *file="", int line=0, const char *function="")
 
- Public Member Functions inherited from svmp::ExceptionBase
const char * what () const noexcept override
 
StatusCode status_code () const noexcept
 
const std::string & message () const noexcept
 
const ExceptionContext & context () const noexcept
 
void add_context (const std::string &context)
 
void set_source_location (const SourceLocation &location)
 Record the originating source location and refresh what().
 
- Protected Member Functions inherited from svmp::ExceptionBase
 ExceptionBase (std::string message, StatusCode status, std::string_view subsystem_label, const char *file="", int line=0, const char *function="")
 
void rebuild_what ()
 
- Protected Attributes inherited from svmp::ExceptionBase
std::string message_
 
ExceptionContext context_
 
std::string_view subsystem_label_
 
std::string what_
 

Detailed Description

An index is outside its valid range.

The default exception raised by check_index(); the status code is InvalidArgument because an out-of-range index is a caller error.


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