-
Notifications
You must be signed in to change notification settings - Fork 255
/
com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException.yml
57 lines (55 loc) · 3.92 KB
/
com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
### YamlMime:JavaType
constructors:
- fullName: com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException.APIErrorException(final String message, final Response<ResponseBody> response)
name: APIErrorException(final String message, final Response<ResponseBody> response)
nameWithType: APIErrorException.APIErrorException(final String message, final Response<ResponseBody> response)
parameters:
- description: <p>the exception message or the response content if a message is not available </p>
name: message
type: <xref href="final+String?alt=final+String&text=final+String" data-throw-if-not-resolved="False"/>
- description: <p>the HTTP response </p>
name: response
type: <xref href="final+Response%3CResponseBody%3E?alt=final+Response%3CResponseBody%3E&text=final+Response%3CResponseBody%3E" data-throw-if-not-resolved="False"/>
summary: >-
<p>Initializes a new instance of the APIErrorException class.</p>
<p></p>
syntax: public APIErrorException(final String message, final Response<ResponseBody> response)
uid: com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException.APIErrorException(final String,final Response<ResponseBody>)
- fullName: com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException.APIErrorException(final String message, final Response<ResponseBody> response, final APIError body)
name: APIErrorException(final String message, final Response<ResponseBody> response, final APIError body)
nameWithType: APIErrorException.APIErrorException(final String message, final Response<ResponseBody> response, final APIError body)
parameters:
- description: <p>the exception message or the response content if a message is not available </p>
name: message
type: <xref href="final+String?alt=final+String&text=final+String" data-throw-if-not-resolved="False"/>
- description: <p>the HTTP response </p>
name: response
type: <xref href="final+Response%3CResponseBody%3E?alt=final+Response%3CResponseBody%3E&text=final+Response%3CResponseBody%3E" data-throw-if-not-resolved="False"/>
- description: <p>the deserialized response body </p>
name: body
type: final <xref href="com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIError?alt=com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIError&text=APIError" data-throw-if-not-resolved="False"/>
summary: >-
<p>Initializes a new instance of the APIErrorException class.</p>
<p></p>
syntax: public APIErrorException(final String message, final Response<ResponseBody> response, final APIError body)
uid: com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException.APIErrorException(final String,final Response<ResponseBody>,final APIError)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="RestException" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException.body()
name: body()
nameWithType: APIErrorException.body()
returns:
type: <xref href="com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIError?alt=com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIError&text=APIError" data-throw-if-not-resolved="False"/>
syntax: public APIError body()
uid: com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException.body()
nameWithType: APIErrorException
syntax: public class APIErrorException
type: class
uid: com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException
fullName: com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.APIErrorException
name: APIErrorException
package: com.microsoft.azure.cognitiveservices.vision.contentmoderator.models
summary: <p>Exception thrown for an invalid response with APIError information. </p>
metadata: {}