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

Public Member Functions

 WrongArgument (string function="", string comment="")
 Main constructor. More...
 
virtual ~WrongArgument ()
 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 76 of file Errors.hxx.

Constructor & Destructor Documentation

◆ WrongArgument()

Seldon::WrongArgument::WrongArgument ( 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 183 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::WrongArgument::What ( )
virtual

Delivers information about the error.

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

Reimplemented from Seldon::Error.

Definition at line 203 of file Errors.cxx.


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