Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ public class KvSnapshotNotExistException extends ApiException {
public KvSnapshotNotExistException(String message) {
super(message);
}

public KvSnapshotNotExistException(String message, Throwable cause) {
super(message, cause);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ public CompletableFuture<GetKvSnapshotMetadataResponse> getKvSnapshotMetadata(
throw new KvSnapshotNotExistException(
String.format(
"Failed to get kv snapshot metadata for table bucket %s and snapshot id %s. Error: %s",
tableBucket, snapshotId, e.getMessage()));
tableBucket, snapshotId, e.getMessage()),
e);
}
}

Expand All @@ -456,7 +457,7 @@ public CompletableFuture<GetFileSystemSecurityTokenResponse> getFileSystemSecuri
remoteFileSystem.getUri().getScheme(), securityToken));
} catch (Exception e) {
throw new SecurityTokenException(
"Failed to get file access security token: " + e.getMessage());
"Failed to get file access security token: " + e.getMessage(), e);
}
}

Expand Down
Loading