exceptions_AMOS.hh File Reference

Include file for all of the AMOS exception types. More...

#include "inttypes_AMOS.hh"
#include <string>
#include <exception>
#include <iostream>

Include dependency graph for exceptions_AMOS.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  AMOS

Classes

class  AMOS::Exception_t
 The base AMOS excpetion class. More...
class  AMOS::AlignmentException_t
 An exception for alignment failures. More...
class  AMOS::AllocException_t
 An exception for alloc failures, better than std::bad_alloc. More...
class  AMOS::ArgumentException_t
 An exception for invalid arguments. More...
class  AMOS::IOException_t
 An exception for IO errors. More...

Defines

#define __exceptions_AMOS_HH   1
#define AMOS_THROW(A)   throw Exception_t(A,__LINE__,__FILE__)
#define AMOS_THROW_ALLOC(A)   throw AllocException_t(A,__LINE__,__FILE__)
#define AMOS_THROW_ARGUMENT(A)   throw ArgumentException_t(A,__LINE__,__FILE__)
#define AMOS_THROW_IO(A)   throw IOException_t(A,__LINE__,__FILE__)

Functions

std::ostream & AMOS::operator<< (std::ostream &out, const Exception_t &e)
 Dump Exception_t info to an ostream.
std::ostream & AMOS::operator<< (std::ostream &out, const std::exception &e)
 Dump exception info to an ostream.


Detailed Description

Include file for all of the AMOS exception types.

Author:
Adam M Phillippy
Date:
10/17/2003

Definition in file exceptions_AMOS.hh.


Define Documentation

#define __exceptions_AMOS_HH   1

Definition at line 11 of file exceptions_AMOS.hh.

#define AMOS_THROW (  )     throw Exception_t(A,__LINE__,__FILE__)

Definition at line 273 of file exceptions_AMOS.hh.

Referenced by AMOS::IDMap_t::resize(), and AMOS::BankStream_t::seekg().

#define AMOS_THROW_ALLOC (  )     throw AllocException_t(A,__LINE__,__FILE__)

Definition at line 274 of file exceptions_AMOS.hh.

Referenced by AMOS::SafeCalloc(), AMOS::SafeMalloc(), AMOS::SafeRealloc(), and AMOS::SafeStrdup().

#define AMOS_THROW_ARGUMENT (  )     throw ArgumentException_t(A,__LINE__,__FILE__)

Definition at line 275 of file exceptions_AMOS.hh.

Referenced by AMOS::Bank_t::appendBID(), AMOS::Kmer_t::compress(), AMOS::Bank_t::concat(), AMOS::Bank_t::fetchBID(), AMOS::Bank_t::fetchBIDFix(), AMOS::Sequence_t::getBase(), AMOS::Kmer_t::getBase(), AMOS::Message_t::getField(), AMOS::Contig_t::getGCContent(), AMOS::Sequence_t::getQualString(), AMOS::Sequence_t::getSeqString(), AMOS::Contig_t::getUngappedQualString(), AMOS::Contig_t::getUngappedSeqString(), AMOS::Contig_t::insertGapColumn(), AMOS::Bank_t::lookupBID(), AMOS::BankStream_t::operator<<(), AMOS::BankStream_t::operator>>(), AMOS::BankStreamSet_t::operator[](), AMOS::BankSet_t::operator[](), AMOS::UniversalSet_t::operator[](), AMOS::Universal_t::readMessage(), AMOS::Sequence_t::readMessage(), AMOS::Scaffold_t::readMessage(), AMOS::Read_t::readMessage(), AMOS::Overlap_t::readMessage(), AMOS::Link_t::readMessage(), AMOS::Kmer_t::readMessage(), AMOS::Index_t::readMessage(), AMOS::IDMap_t::readMessage(), AMOS::Group_t::readMessage(), AMOS::Fragment_t::readMessage(), AMOS::Feature_t::readMessage(), AMOS::IEdge_t::readMessage(), AMOS::Tile_t::readMessage(), AMOS::Distribution_t::readMessage(), AMOS::Bank_t::replaceBID(), AMOS::Overlap_t::setAdjacency(), AMOS::Link_t::setAdjacency(), AMOS::Sequence_t::setBase(), AMOS::Kmer_t::setBase(), AMOS::Bank_t::setMode(), AMOS::Sequence_t::setSequence(), AMOS::Read_t::setType(), AMOS::Link_t::setType(), AMOS::Fragment_t::setType(), AMOS::TiledRead_t::TiledRead_t(), and AMOS::Kmer_t::uncompress().

#define AMOS_THROW_IO (  )     throw IOException_t(A,__LINE__,__FILE__)

Definition at line 276 of file exceptions_AMOS.hh.

Referenced by AMOS::Bank_t::appendBID(), AMOS::Bank_t::clean(), AMOS::Bank_t::clear(), AMOS::Bank_t::close(), AMOS::Bank_t::concat(), AMOS::Bank_t::destroy(), AMOS::Bank_t::fetchBID(), AMOS::Bank_t::fetchBIDFix(), AMOS::BankStream_t::ignore(), AMOS::Bank_t::lockIFO(), AMOS::Bank_t::openPartition(), AMOS::BankStream_t::operator<<(), AMOS::BankStream_t::operator>>(), AMOS::IDMap_t::read(), AMOS::Bank_t::removeBID(), AMOS::BankStream_t::removeByBID(), AMOS::Bank_t::replaceBID(), AMOS::BankStream_t::replaceByBID(), AMOS::BankStream_t::seekg(), AMOS::Bank_t::syncIFO(), and AMOS::Bank_t::unlockIFO().


Generated on Mon Feb 22 17:36:29 2010 for libAMOS by  doxygen 1.4.7