Service exception class¶
The ServiceException class allows the API to send specific service exceptions back to the client. It is used in the Publisher and Service classes:
The ServiceException is thrown by the API in the following circumstances:
- Publishing data when there are no subscribers (Publisher class)
- The API is unable to establish a connection with Delta Control (Service class)
- A column in a Data Refinery table does not have an equivalent .NET type (Service class)
Exceptions can be pushed back and caught in the client code.