[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...

Scott Stark scott.stark at jboss.com
Thu Jan 11 16:56:03 EST 2007


  User: starksm 
  Date: 07/01/11 16:56:03

  Modified:    src/main/org/jboss/remoting  Tag: remoting_2_x
                        ServerInvoker.java
  Log:
  JBREM-664, include the subsystem in the InvalidConfigurationException
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.52.2.11 +3 -3      JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ServerInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java,v
  retrieving revision 1.52.2.10
  retrieving revision 1.52.2.11
  diff -u -b -r1.52.2.10 -r1.52.2.11
  --- ServerInvoker.java	11 Jan 2007 20:34:50 -0000	1.52.2.10
  +++ ServerInvoker.java	11 Jan 2007 21:56:03 -0000	1.52.2.11
  @@ -59,7 +59,7 @@
    *
    * @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
    * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
  - * @version $Revision: 1.52.2.10 $
  + * @version $Revision: 1.52.2.11 $
    */
   public abstract class ServerInvoker extends AbstractInvoker implements ServerInvokerMBean
   {
  @@ -999,8 +999,8 @@
   
                  if (handler == null)
                  {
  -                  throw new InvalidConfigurationException("Can not handle invocation request because there are no " +
  -                                                          "ServerInvocationHandlers registered.  Please add via xml configuration " +
  +                  throw new InvalidConfigurationException("Can not handle invocation request for subsystem("+subsystem+") because there are no " +
  +                                                          "matching ServerInvocationHandlers registered.  Please add via xml configuration " +
                                                             "or via the Connector's addInvocationHandler() method.");
                  }
                  result = handler.invoke(invocation);
  
  
  



More information about the jboss-cvs-commits mailing list