org.jgroups.UnreachableException Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote EJB and JMS, including
all dependencies. It is intended for use by those not using maven, maven users should just import the EJB and
JMS BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
package org.jgroups;
/**
* Thrown if member in different site cannot be contacted; used by RELAY2
*
* @since 3.2
* @author Bela Ban
*/
public class UnreachableException extends RuntimeException {
private static final long serialVersionUID=3370509508879095097L;
protected final Address member;
public UnreachableException(Address member) {
super("UnreachableException");
this.member=member;
}
public UnreachableException(String msg, Address member) {
super(msg);
this.member=member;
}
public String toString() {
return getMessage() + ": member=" + member;
}
}