Removed unnecessary logging statements.
Refactored createWebApplicationException() - make variables final and renamed e to exception.