Seldon::Error Class Reference

Inheritance diagram for Seldon::Error:
Seldon::IOError Seldon::LapackError Seldon::NoMemory Seldon::Undefined Seldon::WrongArgument Seldon::WrongCol Seldon::WrongDim Seldon::WrongIndex Seldon::WrongRow

List of all members.

Public Member Functions

 Error (string function="", string comment="")
 Main constructor.
 Error (string description, string function, string comment)
 Alternative constructor.
virtual ~Error ()
 Destructor.
virtual string What ()
 Delivers information about the error.
void CoutWhat ()
 Delivers information about the error.

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 38 of file Errors.hxx.


Constructor & Destructor Documentation

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

Main constructor.

Error associated with both a function and a comment.

Parameters:
function function with which the error is associated.
comment comment associated with the error.

Definition at line 43 of file Errors.cxx.

Seldon::Error::Error ( string  description,
string  function,
string  comment 
)

Alternative constructor.

Error associated with a description, a function and a comment.

Parameters:
description short description of the error.
function function with which the error is associated.
comment comment associated with the error.

Definition at line 60 of file Errors.cxx.

Seldon::Error::~Error (  )  [virtual]

Destructor.

Note:
Empty.

Definition at line 76 of file Errors.cxx.


Member Function Documentation

void Seldon::Error::CoutWhat (  ) 

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.

string Seldon::Error::What (  )  [virtual]

Delivers information about the error.

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

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

Definition at line 90 of file Errors.cxx.


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