send transport exception is a wrapper exception around the actual exception

This commit is contained in:
kimchy 2010-11-07 17:56:50 +02:00
parent c9e8a2ac68
commit b45ade467e
1 changed files with 2 additions and 1 deletions

View File

@ -19,12 +19,13 @@
package org.elasticsearch.transport; package org.elasticsearch.transport;
import org.elasticsearch.ElasticSearchWrapperException;
import org.elasticsearch.cluster.node.DiscoveryNode; import org.elasticsearch.cluster.node.DiscoveryNode;
/** /**
* @author kimchy (shay.banon) * @author kimchy (shay.banon)
*/ */
public class SendRequestTransportException extends ActionTransportException { public class SendRequestTransportException extends ActionTransportException implements ElasticSearchWrapperException {
public SendRequestTransportException(DiscoveryNode node, String action, Throwable cause) { public SendRequestTransportException(DiscoveryNode node, String action, Throwable cause) {
super(node == null ? null : node.name(), node == null ? null : node.address(), action, cause); super(node == null ? null : node.name(), node == null ? null : node.address(), action, cause);