MapException Class Reference

#include <map_exception.h>

List of all members.

Public Types

 None
 Memory
 Bounds
 Undefined
 InvalidType
 FITSError
 Other
enum  ErrCode {
  None, Memory, Bounds, Undefined,
  InvalidType, FITSError, Other
}

Public Member Functions

 MapException (ErrCode code, int status=0, const char *comm=0)
virtual ~MapException (void)
virtual const char * Message (void) const
virtual const char * Comment (void) const

Protected Attributes

ErrCode code_
int status_
char * comment_


Detailed Description

Definition at line 12 of file map_exception.h.


Member Enumeration Documentation

enum MapException::ErrCode

Enumerator:
None 
Memory 
Bounds 
Undefined 
InvalidType 
FITSError 
Other 

Definition at line 16 of file map_exception.h.


Constructor & Destructor Documentation

MapException::MapException ( ErrCode  code,
int  status = 0,
const char *  comm = 0 
)

Definition at line 21 of file map_exception.cpp.

References code_, comment_, and status_.

MapException::~MapException ( void   )  [virtual]

Definition at line 38 of file map_exception.cpp.

References comment_.


Member Function Documentation

virtual const char* MapException::Comment ( void   )  const [inline, virtual]

Definition at line 34 of file map_exception.h.

References comment_.

Referenced by mainWindow::newRigging(), mainWindow::readFile(), and mainWindow::reTexture().

const char * MapException::Message ( void   )  const [virtual]

Definition at line 52 of file map_exception.cpp.

References Bounds, code_, FITSError, InvalidType, Memory, status_, and Undefined.

Referenced by mainWindow::readFile().


Member Data Documentation

ErrCode MapException::code_ [protected]

Definition at line 26 of file map_exception.h.

Referenced by MapException(), and Message().

char* MapException::comment_ [protected]

Definition at line 28 of file map_exception.h.

Referenced by Comment(), MapException(), and ~MapException().

int MapException::status_ [protected]

Definition at line 27 of file map_exception.h.

Referenced by MapException(), and Message().


The documentation for this class was generated from the following files:
Generated on Fri Feb 6 15:33:00 2009 for Skyviewer by  doxygen 1.4.7