2020-12-04 14:02:06 +03:00
### YamlMime:JavaType
uid : "com.azure.core.exception.HttpRequestException"
fullName : "com.azure.core.exception.HttpRequestException"
name : "HttpRequestException"
nameWithType : "HttpRequestException"
2024-03-12 07:45:40 +03:00
summary : "The `HttpRequestException` that represents an exception thrown when an HTTP request fails."
2020-12-04 14:02:06 +03:00
inheritances :
2022-08-11 07:43:16 +03:00
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Throwable?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Exception?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.RuntimeException?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.exception.AzureException?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
2022-09-27 07:22:51 +03:00
inheritedClassMethods :
- classRef : "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef :
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
- classRef : "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
methodsRef :
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#addSuppressed-java.lang.Throwable-\">addSuppressed</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#fillInStackTrace--\">fillInStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getCause--\">getCause</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getLocalizedMessage--\">getLocalizedMessage</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getMessage--\">getMessage</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getStackTrace--\">getStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getSuppressed--\">getSuppressed</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#initCause-java.lang.Throwable-\">initCause</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace--\">printStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace-java.io.PrintStream-\">printStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace-java.io.PrintWriter-\">printStackTrace</a>"
2023-11-22 08:52:34 +03:00
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#setStackTrace-java.lang.StackTraceElement:A-\">setStackTrace</a>"
2022-09-27 07:22:51 +03:00
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#toString--\">toString</a>"
2022-11-01 07:30:49 +03:00
syntax : "public class **HttpRequestException**</br> extends <xref href=\"com.azure.core.exception.AzureException?alt=com.azure.core.exception.AzureException&text=AzureException\" data-throw-if-not-resolved=\"False\" />"
2020-12-04 14:02:06 +03:00
constructors :
2022-08-22 08:55:24 +03:00
- uid : "com.azure.core.exception.HttpRequestException.HttpRequestException(com.azure.core.http.HttpRequest)"
fullName : "com.azure.core.exception.HttpRequestException.HttpRequestException(HttpRequest request)"
name : "HttpRequestException(HttpRequest request)"
nameWithType : "HttpRequestException.HttpRequestException(HttpRequest request)"
summary : "Initializes a new instance of the Http<wbr>Request<wbr>Exception class."
parameters :
- description : "The <xref uid=\"com.azure.core.http.HttpRequest\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpRequest\"></xref> being sent when the exception occurred."
name : "request"
type : "<xref href=\"com.azure.core.http.HttpRequest?alt=com.azure.core.http.HttpRequest&text=HttpRequest\" data-throw-if-not-resolved=\"False\" />"
syntax : "public HttpRequestException(HttpRequest request)"
desc : "Initializes a new instance of the HttpRequestException class."
- uid : "com.azure.core.exception.HttpRequestException.HttpRequestException(com.azure.core.http.HttpRequest,java.lang.Throwable)"
fullName : "com.azure.core.exception.HttpRequestException.HttpRequestException(HttpRequest request, Throwable cause)"
name : "HttpRequestException(HttpRequest request, Throwable cause)"
nameWithType : "HttpRequestException.HttpRequestException(HttpRequest request, Throwable cause)"
summary : "Initializes a new instance of the Http<wbr>Request<wbr>Exception class."
parameters :
- description : "The <xref uid=\"com.azure.core.http.HttpRequest\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpRequest\"></xref> being sent when the exception occurred."
name : "request"
type : "<xref href=\"com.azure.core.http.HttpRequest?alt=com.azure.core.http.HttpRequest&text=HttpRequest\" data-throw-if-not-resolved=\"False\" />"
- description : "The <xref uid=\"java.lang.Throwable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Throwable\"></xref> which caused the creation of this HttpRequestException."
name : "cause"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
2022-08-22 08:55:24 +03:00
syntax : "public HttpRequestException(HttpRequest request, Throwable cause)"
desc : "Initializes a new instance of the HttpRequestException class."
- uid : "com.azure.core.exception.HttpRequestException.HttpRequestException(java.lang.String,com.azure.core.http.HttpRequest)"
fullName : "com.azure.core.exception.HttpRequestException.HttpRequestException(String message, HttpRequest request)"
name : "HttpRequestException(String message, HttpRequest request)"
nameWithType : "HttpRequestException.HttpRequestException(String message, HttpRequest request)"
summary : "Initializes a new instance of the Http<wbr>Request<wbr>Exception class."
parameters :
- description : "The exception message."
name : "message"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
2022-08-22 08:55:24 +03:00
- description : "the HTTP request sends to the Azure service"
name : "request"
type : "<xref href=\"com.azure.core.http.HttpRequest?alt=com.azure.core.http.HttpRequest&text=HttpRequest\" data-throw-if-not-resolved=\"False\" />"
syntax : "public HttpRequestException(String message, HttpRequest request)"
desc : "Initializes a new instance of the HttpRequestException class."
- uid : "com.azure.core.exception.HttpRequestException.HttpRequestException(java.lang.String,com.azure.core.http.HttpRequest,java.lang.Throwable)"
fullName : "com.azure.core.exception.HttpRequestException.HttpRequestException(String message, HttpRequest request, Throwable cause)"
name : "HttpRequestException(String message, HttpRequest request, Throwable cause)"
nameWithType : "HttpRequestException.HttpRequestException(String message, HttpRequest request, Throwable cause)"
summary : "Initializes a new instance of the Http<wbr>Request<wbr>Exception class."
parameters :
- description : "The exception message."
name : "message"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
2022-08-22 08:55:24 +03:00
- description : "The <xref uid=\"com.azure.core.http.HttpRequest\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpRequest\"></xref> being sent when the exception occurred."
name : "request"
type : "<xref href=\"com.azure.core.http.HttpRequest?alt=com.azure.core.http.HttpRequest&text=HttpRequest\" data-throw-if-not-resolved=\"False\" />"
- description : "The <xref uid=\"java.lang.Throwable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Throwable\"></xref> which caused the creation of this HttpRequestException."
name : "cause"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
2022-08-22 08:55:24 +03:00
syntax : "public HttpRequestException(String message, HttpRequest request, Throwable cause)"
desc : "Initializes a new instance of the HttpRequestException class."
- uid : "com.azure.core.exception.HttpRequestException.HttpRequestException(java.lang.String,com.azure.core.http.HttpRequest,java.lang.Throwable,boolean,boolean)"
fullName : "com.azure.core.exception.HttpRequestException.HttpRequestException(String message, HttpRequest request, Throwable cause, boolean enableSuppression, boolean writableStackTrace)"
name : "HttpRequestException(String message, HttpRequest request, Throwable cause, boolean enableSuppression, boolean writableStackTrace)"
nameWithType : "HttpRequestException.HttpRequestException(String message, HttpRequest request, Throwable cause, boolean enableSuppression, boolean writableStackTrace)"
summary : "Initializes a new instance of the Http<wbr>Request<wbr>Exception class."
parameters :
- description : "The exception message."
name : "message"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
2022-08-22 08:55:24 +03:00
- description : "The <xref uid=\"com.azure.core.http.HttpRequest\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpRequest\"></xref> being sent when the exception occurred."
name : "request"
type : "<xref href=\"com.azure.core.http.HttpRequest?alt=com.azure.core.http.HttpRequest&text=HttpRequest\" data-throw-if-not-resolved=\"False\" />"
- description : "The <xref uid=\"java.lang.Throwable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Throwable\"></xref> which caused the creation of this HttpRequestException."
name : "cause"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
2022-08-22 08:55:24 +03:00
- description : "Whether suppression is enabled or disabled."
name : "enableSuppression"
type : "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- description : "Whether the exception stack trace will be filled in."
name : "writableStackTrace"
type : "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax : "public HttpRequestException(String message, HttpRequest request, Throwable cause, boolean enableSuppression, boolean writableStackTrace)"
desc : "Initializes a new instance of the HttpRequestException class."
2020-12-04 14:02:06 +03:00
methods :
2022-08-22 08:55:24 +03:00
- uid : "com.azure.core.exception.HttpRequestException.getRequest()"
fullName : "com.azure.core.exception.HttpRequestException.getRequest()"
name : "getRequest()"
nameWithType : "HttpRequestException.getRequest()"
2022-11-08 00:09:01 +03:00
summary : "Gets the <xref uid=\"com.azure.core.http.HttpRequest\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpRequest\"></xref> being sent when the exception occurred."
2022-08-22 08:55:24 +03:00
syntax : "public HttpRequest getRequest()"
2022-11-08 00:09:01 +03:00
desc : "Gets the <xref uid=\"com.azure.core.http.HttpRequest\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpRequest\"></xref> being sent when the exception occurred."
2022-08-22 08:55:24 +03:00
returns :
description : "The <xref uid=\"com.azure.core.http.HttpRequest\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpRequest\"></xref> being sent when the exception occurred."
type : "<xref href=\"com.azure.core.http.HttpRequest?alt=com.azure.core.http.HttpRequest&text=HttpRequest\" data-throw-if-not-resolved=\"False\" />"
2020-12-04 14:02:06 +03:00
type : "class"
2024-03-12 07:45:40 +03:00
desc : "The `HttpRequestException` that represents an exception thrown when an HTTP request fails.\n\nThis exception is typically thrown when the client sends an HTTP request to the Azure service, but the service is unable to process the request."
2020-12-04 14:02:06 +03:00
metadata : {}
package : "com.azure.core.exception"
2024-11-04 09:17:09 +03:00
artifact : com.azure:azure-core:1.54.0