casa::AllocError Class Reference
[Exceptions]

#include <Error.h>

Inheritance diagram for casa::AllocError:

Inheritance graph
[legend]
Collaboration diagram for casa::AllocError:

Collaboration graph
[legend]
List of all members.

Detailed Description

Allocation errors.

Intended use:

Part of API

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Synopsis

This class is used for allocation errors. It adds an extra data item, the failed allocation size. Otherwise much the same as AipsError.

Example

        throw(AllocError("ANY STRING",1024));

To Do

Definition at line 138 of file Error.h.

Public Member Functions

size_t size ()
 This function returns the failed allocation size.
 ~AllocError () throw ()
 Destructor which does nothing.

Protected Attributes

size_t Size


Constructor & Destructor Documentation

casa::AllocError::AllocError ( const Char str,
uInt  sze 
) [inline]

This constructor takes the error message and the failed allocation size.

Definition at line 147 of file Error.h.

casa::AllocError::AllocError ( const String str,
uInt  sze 
) [inline]

Definition at line 148 of file Error.h.

casa::AllocError::~AllocError (  )  throw ()

Destructor which does nothing.

casa::AllocError::AllocError ( const Char str,
uInt  sze 
) [inline]

This constructor takes the error message and the failed allocation size.

Definition at line 147 of file Error.h.

casa::AllocError::AllocError ( const String str,
uInt  sze 
) [inline]

Definition at line 148 of file Error.h.


Member Function Documentation

size_t casa::AllocError::size (  )  [inline]

This function returns the failed allocation size.

Definition at line 154 of file Error.h.


Member Data Documentation

size_t casa::AllocError::Size [protected]

Definition at line 140 of file Error.h.


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 22:32:29 2008 for NRAOCASA by  doxygen 1.5.1