Error Handling

This section contains information about how errors are reported by the IC Imaging Control 4 .NET Class Library.

Exceptions

All functions throw an exception in case of an error. The exception's Message property contains detailed information about the cause of the error.

Standard Exception Types

In situations where a matching standard .NET exception type exists, functions can throw standard exceptions as well, such as

ic4.IC4Exception

Error conditions specific to the IC Imaging Control 4 .NET Class Library are thrown as a IC4Exception. The ErrorCode property identifies the kind of error that occurred.