try {
String eventName = getEventName(this.request.getServletPath());
Event event = getEvent();
if (this.requestParams == null) {
Frame2Exception e = null;
if (this.fileUploadException != null) {
e = new Frame2Exception(this.fileUploadException);
this.fileUploadException = null;
} else {
e = new Frame2Exception(
"File Upload Error: There was an error parsing file upload parameters."); //$NON-NLS-1$
}
throw e;
}