ASCOM.Utilities.Exceptions Namespace

ASCOM.Utilities.Exceptions Namespace

Summary

This namespace contains all utility and tool related exceptions

Classes

DriverNotRegisteredException Exception thrown when a profile request is made for a driver that is not registered
HelperException Base exception for the Utilities components
InvalidValueException Exception thrown when an invalid value is passed to a Utilities component
NotInCacheException Exception thrown when a requested item is not present in the ASCOM cache.
ProfileNotFoundException Exception thrown when the profile is not found. This is internally trapped and should not appear externally to an application.
ProfilePersistenceException Exception thrown if there is any problem in reading or writing the profile from or to the file system
RestrictedAccessException Exception thrown when an attempt is made to write to a protected part of the the Profile store that is reserved for Platform use. An example is attempting to write to the the default value of a device driver profile. This value is reserved for use by the Chooser to display the device description and is set by the Profile.Register method.
SerialPortInUseException Exception thrown when a serial port method is already in progress and a second attempt is made to use the serial port.
ValueNotSetException Exception thrown when an attempt is made to read a value that has not yet been set.