Public Member Functions | Protected Attributes | List of all members
Seldon::WrongDim Class Reference
Inheritance diagram for Seldon::WrongDim:
Seldon::Error

Public Member Functions

 WrongDim (string function="", string comment="")
 Main constructor. More...
 
virtual ~WrongDim ()
 Destructor (present to avoid duplicate symbols in .o files)
 
virtual string What ()
 Delivers information about the error. More...
 
void CoutWhat ()
 Delivers information about the error. More...
 

Protected Attributes

string description_
 Message describing the exception type.
 
string function_
 Name of the function in which the error occurred.
 
string comment_
 A comment about the error.
 

Detailed Description

Definition at line 102 of file Errors.hxx.

Constructor & Destructor Documentation

◆ WrongDim()

Seldon::WrongDim::WrongDim ( string  function = "",
string  comment = "" 
)

Main constructor.

Error associated with both a function and a comment.

Parameters
functionfunction with which the error is associated.
commentcomment associated with the error.

Definition at line 251 of file Errors.cxx.

Member Function Documentation

◆ CoutWhat()

void Seldon::Error::CoutWhat ( )
inherited

Delivers information about the error.

Displays available information, i.e. the error description, the function and/or a comment.

Definition at line 106 of file Errors.cxx.

◆ What()

string Seldon::Error::What ( )
virtualinherited

Delivers information about the error.

Displays available information, i.e. the error description, the function and/or a comment.

Reimplemented in Seldon::LapackError, Seldon::WrongArgument, and Seldon::Undefined.

Definition at line 90 of file Errors.cxx.


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