[hg] main-silver: #225910:IllegalArgumentException at org.netbea...

  • From: Tomas Zezula < >
  • To:
  • Subject: [hg] main-silver: #225910:IllegalArgumentException at org.netbea...
  • Date: Tue, 12 Feb 2013 14:40:45 -0800

changeset 94370dde3f99 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/94370dde3f99
description:
        #225910:IllegalArgumentException at 
org.netbeans.modules.parsing.impl.indexing.ProxyBinaryIndexerFactory.getDelegate

diffstat:

 
parsing.api/src/org/netbeans/modules/parsing/impl/indexing/ProxyBinaryIndexerFactory.java
 |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (17 lines):

diff --git 
a/parsing.api/src/org/netbeans/modules/parsing/impl/indexing/ProxyBinaryIndexerFactory.java
 
b/parsing.api/src/org/netbeans/modules/parsing/impl/indexing/ProxyBinaryIndexerFactory.java
--- 
a/parsing.api/src/org/netbeans/modules/parsing/impl/indexing/ProxyBinaryIndexerFactory.java
+++ 
b/parsing.api/src/org/netbeans/modules/parsing/impl/indexing/ProxyBinaryIndexerFactory.java
@@ -229,7 +229,12 @@
     private ConstrainedBinaryIndexer getDelegate() {
         final Object delegate = params.get(ATTR_DELEGATE);
         if (!(delegate instanceof ConstrainedBinaryIndexer)) {
-            throw new IllegalArgumentException();
+            throw new IllegalArgumentException(
+                String.format(
+                    "Invalid indexer %s registered as %s %d",   //NOI18N
+                    delegate,
+                    indexerName,
+                    indexerVersion));
         }
         return (ConstrainedBinaryIndexer) delegate;
     }

[hg] main-silver: #225910:IllegalArgumentException at org.netbea...

Tomas Zezula 02/12/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close