Collage  0.6.1
Public Member Functions | Public Types
co::Exception Class Reference

A base Exception for Collage operations. More...

#include <exception.h>

+ Inheritance diagram for co::Exception:
+ Collaboration diagram for co::Exception:

List of all members.

Public Member Functions

 Exception (const uint32_t type)
 Construct a new Exception.
virtual ~Exception () throw ()
 Destruct this exception.
virtual uint32_t getType () const
virtual const char * what () const throw ()

Public Types

enum  Type {
  TIMEOUT_WRITE, TIMEOUT_READ, TIMEOUT_BARRIER, TIMEOUT_COMMANDQUEUE,
  CUSTOM = 20
}

Detailed Description

A base Exception for Collage operations.

Definition at line 29 of file exception.h.


Member Enumeration Documentation

Enumerator:
TIMEOUT_WRITE 

A write timeout operation.

TIMEOUT_READ 

A read timeout operation.

TIMEOUT_BARRIER 

A barrier timeout operation.

TIMEOUT_COMMANDQUEUE 

A timeout on a cmd queue operation.

Definition at line 32 of file exception.h.


Constructor & Destructor Documentation

co::Exception::Exception ( const uint32_t  type) [inline]

Construct a new Exception.

Definition at line 42 of file exception.h.

virtual co::Exception::~Exception ( ) throw () [inline, virtual]

Destruct this exception.

Definition at line 45 of file exception.h.


Member Function Documentation

virtual uint32_t co::Exception::getType ( ) const [inline, virtual]
Returns:
the type of this exception

Definition at line 48 of file exception.h.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:44 for Collage 0.6.1 by  doxygen 1.7.6.1