Changed TaskOperationFailure#getCause() return type from Trowable to Exception.
This commit is contained in:
parent
05fd2eca6f
commit
73fb945980
|
@ -88,7 +88,7 @@ public final class TaskOperationFailure implements Writeable, ToXContent {
|
|||
return status;
|
||||
}
|
||||
|
||||
public Throwable getCause() {
|
||||
public Exception getCause() {
|
||||
return reason;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue