protected String createExceptionMessage(Throwable exception, Request request, Response response)
    {
		StringBuilder sb = new StringBuilder(request.getEffectiveHttpMethod().toString());
		sb.append(' ');
		sb.append(request.getUrl());
		sb.append(" threw exception: ");
		sb.append(exception.getClass().getSimpleName());
		return sb.toString();
    }
protected String createExceptionMessage ( Throwable exception , Request request , Response response ) { StringBuilder sb = new StringBuilder ( request . getEffectiveHttpMethod ( ) . toString ( ) ) ; sb . append ( ' ' ) ; sb . append ( request . getUrl ( ) ) ; sb . append ( " threw exception: " ) ; sb . append ( exception . getClass ( ) . getSimpleName ( ) ) ; return sb . toString ( ) ; }
Create the message to be logged when a request results in an exception.
Sub-classes can override.

@param exception the exception that occurred.
@param request the request.
@param response the response.
@return a string message.