Revision: 11670
          http://gate.svn.sourceforge.net/gate/?rev=11670&view=rev
Author:   ian_roberts
Date:     2009-10-20 13:39:18 +0000 (Tue, 20 Oct 2009)

Log Message:
-----------
Cleaned up exception handling:
- Removed the custom printStackTrace implementations from GateException and
  GateRuntimeException, which predate the standard Java exception chaining
  mechanism.
- Remove the multiple levels of wrapping of exceptions thrown from jape RHS
  actions, instead rethrowing the exceptions directly where possible.  To
  facilitate this, added a "location" field to JapeException.  If a RHS throws
  a JapeException the message can automatically be augmented with the location
  (phase and document) at the MPT level and the exception rethrown directly
  rather than wrapped again.

Modified Paths:
--------------
    gate/trunk/src/gate/jape/JapeException.java
    gate/trunk/src/gate/jape/MultiPhaseTransducer.java
    gate/trunk/src/gate/jape/RightHandSide.java
    gate/trunk/src/gate/util/GateException.java
    gate/trunk/src/gate/util/GateRuntimeException.java


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to