Optional
response: anyThe XMLHttpRequest object containing the response data.
Optional
exception: anyA JavaScript Error object caught by the calling code.
Optional
showExceptionClass: anyFlag to display the java class of the exception.
Optional
msgPrefix: anyPrefix to the error message (defaults to: 'An error occurred trying to load:')
Shows an error dialog box to the user in response to an error from an AJAX request, including any error messages from the server.