Oleander Error handling
Oleander implements the EOleanderError
exception. This exception is raised at any error condition. In
addition to the message string it has an errornumber as defined
in the TOleanderError type.
The values represent the following error
conditions:
- oerAbort: The application can abort
the print process by raising this exception. It will be
handled inside Oleander.
- oerUnknown: Unknown error
- oerOleanderAutoActive: The
OleanderPrinter object is used but is not active.
- oerClassnameMissing: The
OleanderPrinter inheriting from TOleanderAuto has not
defined an OLE classname.
- oerClassnameInvalid: The
OleanderPrinter inheriting from TOleanderAuto has defined
an invalid OLE classname.
- oerDocnameMissing: The docname
property value is empty
- oerDocnameInvalid: The docname
property value is invalid
- oerIdentifierInvalid: The identifier
could not be found in the document
- oerDatasourceMissing: The datasource
property is empty
- oerOleanderPrinterMissing: The
OleanderPrinter property is empty
- oerOleanderControllerActive: The
OleanderController object is used but is not active.
- oerDocCheckIdentifier: The Check
method could not handle the identifier while checking the
document.
- oerDocCheckFirstgroup: The first
identifier in a document has to be agroup. This should be
the main looping group.
- oerDocCheckGroupinheader: Oleander has
found a group idnetifier in the header or footer section
of a document.
- oerGroupIdentifierInvalid: The group
identifier has no corresponding Datasource or Datafield.
- oerGroupFieldInvalid: The position of
field identifier does not fit into group identifier. IT
is overlapping at the beginning or the end.
- oerFieldtypeInvalid: The fieldtype for
identifier is not supported