cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrik Martin <>
Subject How do I access the request URI from an ExceptionMapper?
Date Thu, 17 Dec 2009 00:14:33 GMT
Greetings. I have written a bunch of ExceptionMapper implementations to
catch a variety of business exceptions in our system and return them as
a special type of Response object. It works fine, but I need to get a
hold of the URI from the incoming request to set it in the outgoing
Response. Since the ExceptionMapper interface method toResponse() only
gives me the actual Exception that was thrown, is there another way I
can get the URI? Thanks,


View raw message