Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AMOS::AlignmentException_t Class Reference

An exception for alignment failures. More...

#include <exceptions_AMOS.hh>

Inheritance diagram for AMOS::AlignmentException_t:

Inheritance graph
[legend]
Collaboration diagram for AMOS::AlignmentException_t:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AlignmentException_t (const std::string &what, int line=0, const std::string &file=NULL_STRING, int a_id=-1, int b_id=-1)
 Constructor.
virtual const int a_id () const
 Returns the id or subscript of the first string.
virtual const int b_id () const
 Returns the id or subscript of the first string.
virtual const char * file () const
 Returns the file (if available) of the exception.
virtual int line () const
 Returns the line number (if available) of the exception.
virtual const char * what () const throw ( )
 Returns a short description (if available) of the exception.

Detailed Description

An exception for alignment failures.

Thrown when an alignment cannot be found between two strings that are supposed to align

Definition at line 102 of file exceptions_AMOS.hh.


Constructor & Destructor Documentation

AMOS::AlignmentException_t::AlignmentException_t const std::string &  what,
int  line = 0,
const std::string &  file = NULL_STRING,
int  a_id = -1,
int  b_id = -1
[inline]
 

Constructor.

Parameters:
what Brief description of the exception
line Line number of the exception
file File name of the exception
a_id ID or subscript of first string involved
b_id ID or subscript of second string involved
Definition at line 122 of file exceptions_AMOS.hh.


Member Function Documentation

virtual const int AMOS::AlignmentException_t::a_id  )  const [inline, virtual]
 

Returns the id or subscript of the first string.

Definition at line 134 of file exceptions_AMOS.hh.

virtual const int AMOS::AlignmentException_t::b_id  )  const [inline, virtual]
 

Returns the id or subscript of the first string.

Definition at line 143 of file exceptions_AMOS.hh.

virtual const char* AMOS::Exception_t::file  )  const [inline, virtual, inherited]
 

Returns the file (if available) of the exception.

Definition at line 67 of file exceptions_AMOS.hh.

Referenced by AMOS::Exception_t::Exception_t().

virtual int AMOS::Exception_t::line  )  const [inline, virtual, inherited]
 

Returns the line number (if available) of the exception.

Definition at line 76 of file exceptions_AMOS.hh.

virtual const char* AMOS::Exception_t::what  )  const throw ( ) [inline, virtual, inherited]
 

Returns a short description (if available) of the exception.

Definition at line 85 of file exceptions_AMOS.hh.


The documentation for this class was generated from the following file:
Generated on Tue May 17 15:19:45 2005 for libAMOS by doxygen 1.3.8