Before sending an invoke operation, the requestor must be set up to catch potential exceptions. In this example, we'll demonstrate that if we send a time in the past, the provider will throw the "bad time" exception.
Exceptions thrown by the provider can be handled with DOFProviderException, and exceptions thrown by the library are handled by DOFErrorException and its sub classes.