Changed TaskOperationFailure#getCause() return type from Trowable to Exception.

This commit is contained in:
Martijn van Groningen 2017-02-27 15:10:42 +01:00
parent 05fd2eca6f
commit 73fb945980
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public final class TaskOperationFailure implements Writeable, ToXContent {
return status;
}
public Throwable getCause() {
public Exception getCause() {
return reason;
}