28 #ifndef TABLES_TABLEERROR_H
29 #define TABLES_TABLEERROR_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Exceptions/Error.h>
String: the storage and methods of handling collections of characters.
Table error; no name given to table description.
~TableDescNoName() noexcept
TableDescNoName(Category c=INITIALIZATION)
The default constructor generates the message.
Table error; table (description) already exists.
TableDuplFile(const String &name, Category c=INVALID_ARGUMENT)
This constructor generates a message telling that the a table or description with the given name alre...
~TableDuplFile() noexcept
TableDuplFile(const String &name, const String &message, Category c=INVALID_ARGUMENT)
This constructor generates a message telling that the a table or description with the given name alre...
TableError(const String &message, Category c=GENERAL)
Construct with given message.
TableError(Category c=GENERAL)
The default constructor generates the message "Table error".
Table grammar error; invalid table command.
const String & token() const
TableGramError(int pos, const String &token, Category c=INVALID_ARGUMENT)
This constructor generates a message containing the table command.
~TableGramError() noexcept
~TableInternalError() noexcept
TableInternalError(const String &message, Category c=GENERAL)
Add given message to string "Internal Table error: ".
Table error; invalid column description.
TableInvColumnDesc(const String &columnName, const String &message, Category c=INVALID_ARGUMENT)
This constructor generates a message that the column with the given name has an invalid description.
~TableInvColumnDesc() noexcept
Table error; invalid data type.
TableInvDT(Category c=CONFORMANCE)
The default constructor generates a generic "invalid data type" message.
TableInvDT(const String &columName, Category c=CONFORMANCE)
Put the name of the offending column in the "invalid data type" message.
Table error; invalid select expression.
TableInvExpr(const String &message, Category c=INVALID_ARGUMENT)
TableInvExpr(const String &columnName, const String &message, Category c=INVALID_ARGUMENT)
This constructor generates a message containing the name of the offending column.
Table error; invalid hypercolumn description.
~TableInvHyperDesc() noexcept
TableInvHyperDesc(const String &hypercolumnName, const String &message, Category c=INVALID_ARGUMENT)
This constructor generates a message that the hypercolumn with the given name has an invalid descript...
Table error; invalid logical operation.
~TableInvLogic() noexcept
TableInvLogic(Category c=INVALID_ARGUMENT)
The default constructor generates the message.
Table error; invalid operation.
TableInvOper(Category c=INVALID_ARGUMENT)
The default constructor generates a generic "invalid operation" message.
TableInvOper(const String &message, Category c=INVALID_ARGUMENT)
Add given message to string "Invalid Table operation: ".
Table error; invalid table (description) option.
TableInvOpt(const String &className, const String &message, Category c=INVALID_ARGUMENT)
This constructor generates a message that an invalid option has been given.
Table error; invalid sort.
TableInvSort(Category c=INVALID_ARGUMENT)
The default constructor generates a generic "invalid sort" message.
TableInvSort(const String &message, Category c=INVALID_ARGUMENT)
This constructor appends the given message to the "invalid sort" message.
Table error; table type mismatch.
TableInvType(const String &tablename, const String &typeIn, const String &typeFile, Category c=CONFORMANCE)
This constructor generates a message that the in table type mismatches the table type in the file.
Table error; table.dat file not found.
TableNoDatFile(const String &filename, Category c=INVALID_ARGUMENT)
This constructor generates a message telling that the a table or datription file does not exist.
~TableNoDatFile() noexcept
Table error; path is not a directory.
TableNoDir(const String &name, Category c=INVALID_ARGUMENT)
This constructor generates a message telling that the table directory with the given name does not ex...
Table error; table (description) not found.
TableNoFile(const String &name, Category c=INVALID_ARGUMENT)
This constructor generates a message telling that the a table or description with the given name does...
Table error; invalid table command.
~TableParseError() noexcept
const String & token() const
TableParseError(const String &commandString, int pos=-1, const String &token=String(), Category c=INVALID_ARGUMENT)
This constructor generates a message containing the table command.
Table error; unknown column description.
~TableUnknownDesc() noexcept
TableUnknownDesc(const String &name, Category c=INITIALIZATION)
This constructor generates a message that the class with the given name is unknown (not registered).
const Double c
Fundamental physical constants (SI units):
this file contains all the compiler specific defines
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.