On Mon, 30 Apr 2001, Jeffrey W. Baker wrote:
> type of exception. Right now I cannot in fact think of
> any program I have written that branches on the type of
> exception. Java encourages this with multiple catch
in CP Web Mail, the underlying libraries throw typed
exceptions so that the application layer can display the
correct error notification to the user. for instance, if the
library throws CP::InvalidMailboxNameException, Web Mail can
display 'the mailbox name you suggested contains an illegal
character. it must correspond to the format thus-and-such.
try again.', whereas if the library throws CP::Exception
(the generic exception), Web Mail will handle it as a
service problem and display that godawful WM9999 page.