make node closed exception serializable
This commit is contained in:
parent
b2fa6b7a94
commit
ae4ae598e3
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue