[hornetq-commits] JBoss hornetq SVN: r11166 - branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Aug 9 09:38:59 EDT 2011
Author: borges
Date: 2011-08-09 09:38:59 -0400 (Tue, 09 Aug 2011)
New Revision: 11166
Modified:
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
HORNETQ-720 Change from RuntimeException to HornetQException
Modified: branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
--- branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-08-09 13:03:23 UTC (rev 11165)
+++ branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-08-09 13:38:59 UTC (rev 11166)
@@ -603,7 +603,7 @@
* XXX HORNETQ-720 Live is down, and this server was not in sync. Perhaps we should
* first try to wait a little longer to see if the 'live' comes back?
*/
- throw new RuntimeException("Backup Server was not yet in sync with live");
+ throw new HornetQException(HornetQException.ILLEGAL_STATE, "Backup Server was not yet in sync with live");
}
More information about the hornetq-commits
mailing list