A set operation, like we saw with a get operation, may throw an exception. Any set request needs to be able to handle exceptions. Exceptions thrown by the provider can be caught with the DOFProviderException; exceptions thrown by the library are DOFErrorExceptions and its sub classes.
The set operation can fail for several different reason. The DOFException is a parent class of all exceptions.
The DOFErrorExceptions are exceptions the library can throw. These exceptions have specific meanings and causes. For example, a timeout exception means the operation was not completed within the timeout period.