Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #784 (closed)

Opened 17 years ago

Closed 17 years ago

3rd party service exceptions aren't handled properly in blitz

Reported by: jamoore Owned by: jamoore
Priority: minor Cc:
Sprint: n.a.
Total Remaining Time: n.a.

Description

IceMethodInvoker currently wraps all exceptions that are unknown as omero.InternalException. To handle this,

  • usages of omero.ServerError need to be changed to Ice.UserException (base class of all Ice exceptions defined in *.ice)
  • Need a hook to allow 3rd party services to handle their exceptions

Change History (1)

comment:1 Changed 17 years ago by jmoore

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

r1813 closes. Any ApplicationListener will be given the chance to convert a non-blitz exception to a blitz exception via the ConvertToBlitzExceptionMessage event.

If the ctbem.to field is an Ice.UserException it will be thrown immediately, otherwise, it will be be further mapped by IceMethodInvoker.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.62754 sec.)

We're Hiring!