DataManError.h
Classes
- DataManError -- Base error class for table data manager (full description)
- DataManInternalError -- Internal table data manager error (full description)
- DataManUnknownCtor -- Table DataManager error; invalid data manager (full description)
- DataManInvDT -- Table DataManager error; invalid data type (full description)
- DataManInvOper -- Table DataManager error; invalid operation (full description)
- DataManUnknownVirtualColumn -- Table DataManager error; unknown virtual column (full description)
- TSMError -- Table DataManager error; error in TiledStMan (full description)
Interface
- Public Members
- DataManError ()
- DataManError (const String& message)
- ~DataManError () throw()
Review Status
- Reviewed By:
- Gareth Hunt
- Date Reviewed:
- 94Nov17
Synopsis
This is the generic data manager exception; catching this one means
catching all DataMan* exceptions.
Note that you have to catch AipsError to catch all possible exceptions.
Member Description
The default constructor generates the message "Table DataManager error".
Construct with given message.
Interface
- DataManInternalError (const String& message)
- ~DataManInternalError () throw()
Review Status
- Reviewed By:
- Gareth Hunt
- Date Reviewed:
- 94Nov17
Synopsis
Internal data manager error (should never be thrown).
If this is thrown, something is terribly wrong.
Member Description
Add given message to string "Internal Table DataManager error: ".
Interface
- DataManUnknownCtor (const String& columnName)
- ~DataManUnknownCtor () throw()
Review Status
- Reviewed By:
- Gareth Hunt
- Date Reviewed:
- 94Nov17
Synopsis
A data manager is unknown (i.e. not registered in DataManReg.cc).
This means that the data manager object cannot be recreated.
Member Description
This constructor generates a message that a data manager
with the given name is unknown (i.e. not registered).
Interface
- DataManInvDT ()
- DataManInvDT (const String& columnName)
- ~DataManInvDT () throw()
Review Status
- Reviewed By:
- Gareth Hunt
- Date Reviewed:
- 94Nov17
Synopsis
Invalid data type used in the data manager.
The data manager found an unknown data type when doing a get or put.
In principle this error should never occur.
Member Description
The default constructor generates a generic "invalid data type" message.
Put the name of the offending column in the "invalid data type" message.
Interface
- DataManInvOper ()
- DataManInvOper (const String& message)
- ~DataManInvOper () throw()
Review Status
- Reviewed By:
- Gareth Hunt
- Date Reviewed:
- 94Nov17
Synopsis
Invalid operation on a data manager.
A request was done that the data manager could not handle.
In principle the table system should already test on such operations
and it should not bother the data manager with invalid requests.
However, the data manager still tests them for safety.
Member Description
The default constructor generates a generic "invalid operation" message.
Add given message to string "Invalid DataMan operation: ".
Interface
- DataManUnknownVirtualColumn (const String& columnName, const String& engineName)
- ~DataManUnknownVirtualColumn () throw()
Review Status
- Reviewed By:
- Gareth Hunt
- Date Reviewed:
- 94Nov17
Synopsis
A column is unknown to the virtual column engine.
This error is caused by binding a column to a virtual column engine
which does not know the column name or data type.
Member Description
Issue a message containing the column name.
Interface
- TSMError (const String& message)
- ~TSMError () throw()
Review Status
- Reviewed By:
- Gareth Hunt
- Date Reviewed:
- 94Nov17
Synopsis
An error was made when using the TiledStMan.
The TiledStMan is quite complex, so it is easy to make mistakes.
The TiledStMan and related
classes should be studied carefully.
Member Description
Issue the message prefixed by "TiledStMan: ".