send transport exception is a wrapper exception around the actual exception
This commit is contained in:
parent
c9e8a2ac68
commit
b45ade467e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue