Ticket #481 (closed Enhancement: fixed)

Opened 11 years ago

Last modified 11 years ago

A WebApplicationException thrown by a event listener must reach Jersey

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.2
Component: DeepaMehta Standard Distribution Version: 4.1
Keywords: Cc: dgf, Malte
Complexity: 1 Area: Application Framework / API
Module: deepamehta-core

Description (last modified by jri) (diff)

This would allow e.g. the Caching plugin to throw a WebApplicationException? in order to abort request processing and cause a 304 (Not Modified) response.

Currently all listener exceptions are wrapped with a RuntimeException?.

Change History

comment:1 Changed 11 years ago by jri

  • Status changed from new to accepted
  • Description modified (diff)

comment:2 Changed 11 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed

Core: listener exception handling (#481).

A WebApplicationException? thrown by a event listener reach Jersey.
This allow plugins to produce specific HTTP responses by throwing a WebApplicationException?.

Close ticket 481.

Changeset: 10812d8b97c50f3443ad7a636197fb485978c58a

Note: See TracTickets for help on using tickets.