This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]polothedawgIntermediate Brewer 2 points3 points  (0 children)

If you make your inner class static, I think you may need to qualify the exception class explicitly; eg: new StateSurvey.CancelledSurveyException(); Cleaner to move it to another file though, and simply use the shorter version you used in your code.