Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RazorBack::Badvalexc_ Class Reference

Badvalexc_: bad argument exception. More...

#include <Rangedimexc.hh>

Inheritance diagram for RazorBack::Badvalexc_:

Inheritance graph
[legend]
Collaboration diagram for RazorBack::Badvalexc_:

Collaboration graph
[legend]
List of all members.

Public Methods

 Badvalexc_ (const char *Thnm, double Bad, bool F=false)
 Constructs a bad value exception thrown by Thnm, with fatality indicator F. More...

double bad_val () const
 Returns the "bad" value that caused the exception.


Protected Attributes

double Badval
 bad argument.


Private Methods

 Badvalexc_ ()

Detailed Description

Badvalexc_: bad argument exception.

Stores the bad value. Usage: throw Badvalexc_("wrong_function", Badval)

Definition at line 75 of file Rangedimexc.hh.


Constructor & Destructor Documentation

RazorBack::Badvalexc_::Badvalexc_ ( const char * Thnm,
double Bad,
bool F = false )
 

Constructs a bad value exception thrown by Thnm, with fatality indicator F.

Bad is the "bad value" that was not accepted for some reason.

RazorBack::Badvalexc_::Badvalexc_ ( ) [private]
 


Member Function Documentation

double RazorBack::Badvalexc_::bad_val ( ) const [inline]
 

Returns the "bad" value that caused the exception.

Definition at line 92 of file Rangedimexc.hh.


Member Data Documentation

double RazorBack::Badvalexc_::Badval [protected]
 

bad argument.

Definition at line 80 of file Rangedimexc.hh.


The documentation for this class was generated from the following file:
Generated at Wed Aug 21 09:33:37 2002 for The Razorback C++ Library: Exceptions by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001