Sequence::badFormat Class Reference

#include <SeqExceptions.hpp>

Inheritance diagram for Sequence::badFormat:
Sequence::SeqException

List of all members.

Public Member Functions

 badFormat (const char *x)
std::ostream & print (std::ostream &out)
std::ostream & print (std::ostream &out) const
const char * error (void) const

Detailed Description

used largely by I/O routines when input is not in the correct format

Examples:

gestimator.cc.

Definition at line 65 of file SeqExceptions.hpp.


Constructor & Destructor Documentation

Sequence::badFormat::badFormat ( const char *  x  )  [explicit]

Throw the exception with error message x

Definition at line 73 of file SeqExceptions.cc.


Member Function Documentation

const char * Sequence::SeqException::error ( void   )  const [inherited]

Return the error message if you want to use it in some other fashion then printing it to an std::ostream

Definition at line 60 of file SeqExceptions.cc.

std::ostream & Sequence::SeqException::print ( std::ostream &  out  )  const [inherited]

Write the error to out.

Definition at line 52 of file SeqExceptions.cc.

std::ostream & Sequence::SeqException::print ( std::ostream &  out  )  [inherited]

Write the error to out.

Examples:
gestimator.cc.

Definition at line 44 of file SeqExceptions.cc.


The documentation for this class was generated from the following files:
Generated on Thu Aug 11 13:22:04 2011 for libsequence by  doxygen 1.6.3