casa
5.7.0-16
|
#include <casacore/casa/aips.h>
#include <casacore/casa/BasicSL/String.h>
#include <exception>
#include <sys/types.h>
#include <casacore/casa/Exceptions/Error.tcc>
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... | |
class | casacore::InitError |
Initialization error, typically of static data shared between objects. More... | |
Namespaces | |
casacore | |
For temporary backward namespace compatibility, use casa as alias for casacore. | |
Macros | |
#define | CASATHROW(exc, arg) |
Throw the given exception with a string composed of various arguments. More... | |
#define | AssertCc(c) |
The Assert macro is an alias to the standard assert macro when NDEBUG is defined. More... | |
#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. More... | |
#define | ThrowCc(m) |
#define | ThrowIf(c, m) |
Throw an AipsError exception if the condition is true. More... | |
#define | ThrowIfError(c, m) |
Throw an AipsError exception if the system error code is not 0. More... | |
#define | Rethrow(e, m) |
Repackage and rethrow an AipsError exception. More... | |
#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 57 of file Error.h.
Referenced by casa::vi::VbCacheItemArray< casacore::casacore::Vector< casacore::uInt > >::appendRows(), and casa::vi::VbCacheItemArray< casacore::casacore::Vector< casacore::uInt > >::copyRowElementAux().
#define AssertOrWarn | ( | c, | |
m | |||
) |
#define CASATHROW | ( | exc, | |
arg | |||
) |
#define Rethrow | ( | e, | |
m | |||
) |
#define ThrowCc | ( | m | ) |
Definition at line 85 of file Error.h.
Referenced by casacore::LatticeStatistics< casacore::Float >::_flux(), casacore::StatsHistogram< AccumType >::_getUInt(), casacore::LatticeFFT::cfft(), casacore::LatticeFFT::cfft2d(), casacore::LatticeFFT::crfft(), casa::vi::VisBuffer2::ms(), casacore::LatticeFFT::myrcfft(), casacore::LatticeFFT::rcfft(), casa::vi::VisBuffer2::setWritability(), and casa::vi::VisBuffer2::subtableColumns().
#define ThrowIf | ( | c, | |
m | |||
) |
Throw an AipsError exception if the condition is true.
Definition at line 89 of file Error.h.
Referenced by casa::vi::VbCacheItem< casacore::Int >::fill(), casa::vi::VbCacheItem< casacore::Int >::set(), casa::vi::VbCacheItemArray< casacore::casacore::Vector< casacore::uInt > >::set(), casa::ImageProfileFitter::setMinGoodPoints(), casa::vi::VbCacheItem< casacore::Int >::shapeErrorMessage(), and casa::vi::VbCacheItemArray< casacore::casacore::Vector< casacore::uInt > >::shapeErrorMessage().
#define ThrowIfError | ( | c, | |
m | |||
) |