[hg] main-silver: #222700 Print the context as well, when the se...

  • From:
  • To:
  • Subject: [hg] main-silver: #222700 Print the context as well, when the se...
  • Date: Wed, 28 Nov 2012 00:05:17 -0800

changeset 67f89b456c35 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/67f89b456c35
description:
        #222700 Print the context as well, when the service creation fails.

diffstat:

 api.debugger/src/org/netbeans/spi/debugger/ContextAwareSupport.java |  8 
++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff --git 
a/api.debugger/src/org/netbeans/spi/debugger/ContextAwareSupport.java 
b/api.debugger/src/org/netbeans/spi/debugger/ContextAwareSupport.java
--- a/api.debugger/src/org/netbeans/spi/debugger/ContextAwareSupport.java
+++ b/api.debugger/src/org/netbeans/spi/debugger/ContextAwareSupport.java
@@ -148,12 +148,12 @@
             Exceptions.printStackTrace(
                     Exceptions.attachMessage(
                     e,
-                    "The service "+service+" can not be instantiated."));
+                    "The service "+service+" can not be instantiated. 
Context = "+context));
         } catch (IllegalAccessException e) {
             Exceptions.printStackTrace(
                     Exceptions.attachMessage(
                     e,
-                    "The service "+service+" can not be accessed."));
+                    "The service "+service+" can not be accessed. Context = 
"+context));
         } catch (InvocationTargetException ex) {
             if (ex.getCause() instanceof ThreadDeath) {
                 throw (ThreadDeath) ex.getCause();
@@ -161,12 +161,12 @@
             Exceptions.printStackTrace(
                     Exceptions.attachMessage(
                     ex,
-                    "The service "+service+" can not be created."));
+                    "The service "+service+" can not be created. Context = 
"+context));
         } catch (ExceptionInInitializerError ex) {
             Exceptions.printStackTrace(
                     Exceptions.attachMessage(
                     ex,
-                    "The service "+service+" can not be initialized."));
+                    "The service "+service+" can not be initialized. Context 
= "+context));
         }
         return null;
     }

[hg] main-silver: #222700 Print the context as well, when the se...

mentlicher 11/28/2012

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 35 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close