Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics committed Apr 30, 2024
2 parents 97cb23f + f0c682e commit 2a32a98
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ public String getMeaning() {
* @return The azure exception to throw for this kind of result code.
*/
public Optional<AzureException> getAzureException(
Exception origin, String message, RestRequestInfo request, RestRequestResponseInfo response) {
Exception origin, String message, RestRequestInfo request, RestRequestResponseInfo response) {
return Optional.ofNullable(azureExceptionInstantiation)
.map(instantiation -> instantiation.createInstance(origin, message, request, response));
.map(instantiation -> instantiation.createInstance(origin, message, request, response));
}

/**
Expand Down

0 comments on commit 2a32a98

Please sign in to comment.