Go to the source code of this file.
Classes | |
| class | casacore::AipsError |
| Base class for all Casacore library errors. More... | |
| class | casacore::AllocError |
| Allocation errors. More... | |
| class | casacore::IndexError |
| Base class for all indexing errors. More... | |
| class | casacore::indexError< t > |
| Index errors returning the bad index. More... | |
| class | casacore::DuplError |
| Duplicate key errors. More... | |
| class | casacore::duplError< t > |
| Duplicate key errors where the bad key is returned. More... | |
| class | casacore::SystemCallError |
| Exception for an error in a system call. More... | |
| class | casacore::AbortError |
| Exception which halts execution. More... | |
Namespaces | |
| namespace | casacore |
this file contains all the compiler specific defines | |
Defines | |
| #define | CASATHROW(exc, arg) |
| Throw the given exception with a string composed of various arguments. | |
| #define | AssertCc(c) |
| The Assert macro is an alias to the standard assert macro when NDEBUG is defined. | |
| #define | AssertAlways(c) |
| #define | WarnCc(m) |
| #define | AssertOrWarn(c, m) |
| Asserts when in debug build and issues a warning message to the log in release. | |
| #define | ThrowCc(m) |
| #define | ThrowIf(c, m) |
| Throw an AipsError exception if the condition is true. | |
| #define | ThrowIfError(c, m) |
| Throw an AipsError exception if the system error code is not 0. | |
| #define | Rethrow(e, m) |
| Repackage and rethrow an AipsError exception. | |
| #define | RETHROW(X) |
| #define AssertCc | ( | c | ) |
The Assert macro is an alias to the standard assert macro when NDEBUG is defined.
When NDEBUG is not defined (release build) then a throw is used to report the error.
Definition at line 58 of file Error.h.
Referenced by casa::vi::VbCacheItemArray< Vector< SquareMatrix< Complex, 2 > >, True >::appendRows(), and casa::vi::VbCacheItemArray< Vector< SquareMatrix< Complex, 2 > >, True >::copyRowElementAux().
| #define AssertOrWarn | ( | c, | |||
| m | ) |
| #define CASATHROW | ( | exc, | |||
| arg | ) |
| #define Rethrow | ( | e, | |||
| m | ) |
| #define ThrowCc | ( | m | ) |
Definition at line 86 of file Error.h.
Referenced by casacore::LatticeStatistics< T >::_flux(), casacore::StatisticsUtilities< AccumType >::getInt(), and casa::vi::VisBuffer2::setWritability().
| #define ThrowIf | ( | c, | |||
| m | ) |
Throw an AipsError exception if the condition is true.
Definition at line 90 of file Error.h.
Referenced by casa::vi::VbCacheItem< Cube< Complex >, False >::fill(), casa::vi::VbCacheItemArray< Vector< SquareMatrix< Complex, 2 > >, True >::set(), casa::vi::VbCacheItem< Cube< Complex >, False >::set(), casacore::StatisticsAlgorithm< CASA_STATP, DataIterator, const Bool *, DataIterator >::setDataProvider(), casa::ImageProfileFitter::setMinGoodPoints(), casa::vi::VbCacheItemArray< Vector< SquareMatrix< Complex, 2 > >, True >::shapeErrorMessage(), and casa::vi::VbCacheItem< Cube< Complex >, False >::shapeErrorMessage().
| #define ThrowIfError | ( | c, | |||
| m | ) |
1.6.1