org.rhq.enterprise.communications.util
Class CommUtils
java.lang.Object
org.rhq.enterprise.communications.util.CommUtils
public abstract class CommUtils
- extends Object
Just a place where basic comm utility methods are placed for use by anything
that needs to use the comm layer.
- Author:
- John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommUtils
public CommUtils()
isExceptionFailoverable
public static boolean isExceptionFailoverable(Throwable t)
- Examines the given exception and determines if failing over to another server might help.
Typically, this method will look for "cannot connect" type exceptions.
- Parameters:
t - the exception to examine
- Returns:
true if failing over to another server might help; false if
there is nothing about the exception that would lead us to believe another server would produce
a different result.
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.