[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Gavin King
gavin.king at jboss.com
Mon Feb 26 15:56:58 EST 2007
User: gavin
Date: 07/02/26 15:56:58
Modified: src/main/org/jboss/seam/core Dispatcher.java
Log:
oops, should throw exception
Revision Changes Path
1.17 +9 -2 jboss-seam/src/main/org/jboss/seam/core/Dispatcher.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Dispatcher.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Dispatcher.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- Dispatcher.java 26 Feb 2007 20:50:59 -0000 1.16
+++ Dispatcher.java 26 Feb 2007 20:56:58 -0000 1.17
@@ -365,13 +365,20 @@
{
return handle.getTimer();
}
- catch (javax.ejb.NoSuchObjectLocalException nsoe)
+ catch (NoSuchObjectLocalException nsoe)
{
return null;
}
}
});
- return timer==null ? null : new TimerProxy(timer);
+ if (timer==null)
+ {
+ throw new NoSuchObjectLocalException();
+ }
+ else
+ {
+ return new TimerProxy(timer);
+ }
}
}
}
More information about the jboss-cvs-commits
mailing list