* @return
*/
public static Response buildExceptionResponse( Status status,
String message, Exception e, Renderer renderer )
{
ExceptionRepresentation eRep = new ExceptionRepresentation( e );
String entity = JsonRenderers.DEFAULT.render( eRep );
return addHeaders( Response.status( status ).entity( entity ) ).build();
}