Skip to Content.
Sympa Menu

notify-dpml - r1029 - in trunk/main/metro: exec/src/main/net/dpml/metro/exec runtime/src/main/net/dpml/metro/runtime

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1029 - in trunk/main/metro: exec/src/main/net/dpml/metro/exec runtime/src/main/net/dpml/metro/runtime
  • Date: Sat, 4 Feb 2006 21:20:02 +0100

Author: mcconnell
Date: 2006-02-04 21:20:00 +0100 (Sat, 04 Feb 2006)
New Revision: 1029

Modified:
trunk/main/metro/exec/src/main/net/dpml/metro/exec/ApplicationHandler.java

trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentController.java
Log:
resolve missing error logging issue

Modified:
trunk/main/metro/exec/src/main/net/dpml/metro/exec/ApplicationHandler.java
===================================================================
---
trunk/main/metro/exec/src/main/net/dpml/metro/exec/ApplicationHandler.java
2006-02-04 19:49:26 UTC (rev 1028)
+++
trunk/main/metro/exec/src/main/net/dpml/metro/exec/ApplicationHandler.java
2006-02-04 20:20:00 UTC (rev 1029)
@@ -425,11 +425,14 @@
}
catch( Exception e )
{
+ final String error =
+ "Initiating process deactivation due to an application
error.";
+ getLogger().error( error, e );
try
{
handler.deactivate();
}
- catch( Exception ee )
+ catch( Exception deactivationError )
{
// ignore
}

Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentController.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentController.java
2006-02-04 19:49:26 UTC (rev 1028)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentController.java
2006-02-04 20:20:00 UTC (rev 1029)
@@ -292,18 +292,6 @@
+ "].";
throw new ControllerException( error, e );
}
- catch( InvocationTargetException e )
- {
- throw e;
- }
- catch( Throwable e )
- {
- final String error =
- "Unexpected error in ["
- + handler
- + "].";
- throw new ControllerException( error, e );
- }
}

/**




  • r1029 - in trunk/main/metro: exec/src/main/net/dpml/metro/exec runtime/src/main/net/dpml/metro/runtime, mcconnell at BerliOS, 02/04/2006

Archive powered by MHonArc 2.6.24.

Top of Page