make node closed exception serializable

This commit is contained in:
Shay Banon 2011-11-29 10:18:13 +02:00
parent b2fa6b7a94
commit ae4ae598e3
1 changed files with 0 additions and 7 deletions

View File

@ -29,14 +29,7 @@ import org.elasticsearch.cluster.node.DiscoveryNode;
*/
public class NodeClosedException extends ElasticSearchException {
private final DiscoveryNode node;
public NodeClosedException(DiscoveryNode node) {
super("node closed " + node);
this.node = node;
}
public DiscoveryNode node() {
return node;
}
}