private void sendServiceException( Version requestVersion, OWSException e, HttpResponseBuffer response ) throws ServletException { XMLExceptionSerializer serializer = getExceptionSerializer( requestVersion ); sendException( null, serializer, e, response ); }
private void sendSoapException( SOAPEnvelope soapDoc, SOAPFactory factory, HttpResponseBuffer response, OWSException e, ServletRequest request, Version requestVersion ) throws OMException, ServletException { XMLExceptionSerializer serializer = getExceptionSerializer( requestVersion ); sendSOAPException( soapDoc.getHeader(), factory, response, e, serializer, null, null, request.getServerName(), request.getCharacterEncoding() ); }