Go to the documentation of this file.
28 #ifndef CASA_ARRAYERROR_H
29 #define CASA_ARRAYERROR_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Exceptions/Error.h>
34 #include <casacore/casa/Arrays/IPosition.h>
ArrayIndexError(const String &m, Category c=BOUNDARY)
Initialize with the supplied message, the index and shape are null.
An error thrown by an Slicer member function.
ArrayShapeError(const IPosition &shape1, const IPosition &shape2, const Char *m="ArrayShapeError", Category c=CONFORMANCE)
Define an ArrayShapeError with the two (presumably different) shapes and an optional supplied message...
~ArrayNDimError() noexcept
ArrayIteratorError(Category c=BOUNDARY)
Initialize with the message "ArrayIteratorError.
ArrayIteratorError(const Char *m, Category c=BOUNDARY)
Initialize with the supplied message.
ArrayError(Category c=GENERAL)
Initialize with the message "ArrayError.".
~ArraySlicerError() noexcept
ArrayNDimError(Int dim1, Int dim2, const Char *m="ArrayNDimError", Category c=CONFORMANCE)
Define the two (presumably different) messages and optionally supply a message.
ArraySlicerError(Category c=GENERAL)
Initialize with the message "Slicer error.".
ArrayIndexError(const Char *m, Category c=BOUNDARY)
Initialize with the supplied message, the index and shape are null.
~ArrayShapeError() noexcept
Thrown when two arrays have different dimensionality.
ArrayIndexError(Category c=BOUNDARY)
Initialize with the message "ArrayIndexError".
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
~ArrayIndexError() noexcept
this file contains all the compiler specific defines
ArrayIteratorError(const String &m, Category c=BOUNDARY)
Initialize with the supplied message.
ArraySlicerError(const String &m, Category c=GENERAL)
Initialize with ArraySlicerError plus the supplied message.
const Double c
Fundamental physical constants (SI units):
ArrayIndexError(const IPosition &index, const IPosition &shape, const Char *m="ArrayIndexError", Category c=BOUNDARY)
Initialize with a given out-of-bounds index, as well as the shape of the array and a supplied message...
ArrayError(const Char *m, Category c=GENERAL)
Initialize with the supplied message.
An error thrown when an index is out of range.
ArrayError(const String &m, Category c=GENERAL)
Initialize with the supplied message.
An error thrown by an ArrayIterator.
String: the storage and methods of handling collections of characters.
An error thrown when two arrays have different shapes.
~ArrayIteratorError() noexcept