NIHVIVO-1026 merge 5508 from the branch.

This commit is contained in:
jeb228 2010-07-27 17:25:08 +00:00
parent 2de4504d1b
commit ff1e81fe65

View file

@ -223,6 +223,8 @@ public class ImageUploadHelper {
} catch (IOException e) {
throw new IllegalStateException("Can't read image file: "
+ fileInfo, e);
} catch (UserMistakeException e) {
throw e;
} catch (Exception e) {
throw new UserMistakeException("Sorry, we were unable to process "
+ "the photo you provided. Please try another photo.");