01: // $Id: SuspectedException.java,v 1.4 2006/04/29 03:25:32 belaban Exp $
02:
03: package org.jgroups;
04:
05: /**
06: * Thrown if a message is sent to a suspected member.
07: */
08: public class SuspectedException extends Exception {
09: final Object suspect;
10:
11: private static final long serialVersionUID = -6663279911010545655L;
12:
13: public SuspectedException() {
14: this .suspect = null;
15: }
16:
17: public SuspectedException(Object suspect) {
18: this .suspect = suspect;
19: }
20:
21: public String toString() {
22: return "SuspectedException";
23: }
24: }
|