org.jgroups.SuspectedException 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 a message is sent to a suspected member.
*
* @since 2.0
* @author Bela Ban
*/
public class SuspectedException extends Exception {
final Object suspect;
private static final long serialVersionUID=-6663279911010545655L;
public SuspectedException() {this.suspect=null;}
public SuspectedException(Object suspect) {this.suspect=suspect;}
public String toString() {return "SuspectedException";}
}