From: Jon Nolan <lists@lo...> - 2009-02-13 22:51:30
If an exception is thrown within uploadSucceeded then uploadFailed is
called. uploadFailed calls uploadFinished which is then called again in
the finally block of the exception handler within uploadSucceeded.
Easy test case is set streamToFilePath="/tmp/uploads/", create the
directory and set its permissions to 444.