public static ServletErrorReport constructErrorReport(Throwable th, RequestProcessor requestProcessor) {
        WebAppErrorReport r = new WebAppErrorReport(th);
        // Begin 269504, Unvailable permanently servlets fail with NPE on second httpResponse
        if (requestProcessor != null&&requestProcessor.getName()!=null)
        {
            	return constructErrorReport(th,requestProcessor.getName());
        }
        else {
        	return constructErrorReport(th,"ServletNameNotFound");
        }
    }
public static ServletErrorReport constructErrorReport ( Throwable th , RequestProcessor requestProcessor ) { WebAppErrorReport r = new WebAppErrorReport ( th ) ; if ( requestProcessor != null && requestProcessor . getName ( ) != null ) { return constructErrorReport ( th , requestProcessor . getName ( ) ) ; } else { return constructErrorReport ( th , "ServletNameNotFound" ) ; } }
@param th
@param wrapper