Share via


AdlsClient.GetExceptionFromResponse(OperationResponse, String) Method

Definition

Returns a ADLS Exception based on response from the server

public Microsoft.Azure.DataLake.Store.AdlsException GetExceptionFromResponse (Microsoft.Azure.DataLake.Store.OperationResponse resp, string defaultMessage);
member this.GetExceptionFromResponse : Microsoft.Azure.DataLake.Store.OperationResponse * string -> Microsoft.Azure.DataLake.Store.AdlsException
Public Function GetExceptionFromResponse (resp As OperationResponse, defaultMessage As String) As AdlsException

Parameters

resp
OperationResponse

Response encapsulating errors or exceptions

defaultMessage
String

Default message

Returns

Adls Exception

Applies to