casa
$Rev:20696$
|
The base class for all Array exception classes. More...
#include <ArrayError.h>
Public Member Functions | |
ArrayError (Category c=GENERAL) | |
Initialize with the message "ArrayError.". | |
ArrayError (const Char *m, Category c=GENERAL) | |
Initialize with the supplied message. | |
ArrayError (const String &m, Category c=GENERAL) | |
Initialize with the supplied message. | |
~ArrayError () throw () |
The base class for all Array exception classes.
ArrayError is the base class for all the Array-specific exception classes, i.e. if it is caught you will catch (through inheritance) all Array-specific exceptions. Note that (presently, anyway) the Array classes will throw a few non-Array exceptions.
try { // Some lines, functions, ..\. } catch (ArrayError x) { // Array specific errors } catch (AipsError x) { // All other errors caught here. }
Definition at line 59 of file ArrayError.h.
Initialize with the message "ArrayError.".
casa::ArrayError::ArrayError | ( | const Char * | m, |
Category | c = GENERAL |
||
) |
Initialize with the supplied message.
casa::ArrayError::ArrayError | ( | const String & | m, |
Category | c = GENERAL |
||
) |
Initialize with the supplied message.
casa::ArrayError::~ArrayError | ( | ) | throw () |