azure-docs-sdk-java/docs-ref-autogen/com.azure.ai.textanalytics....

104 строки
8.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.ai.textanalytics.models.TextAnalyticsException"
fullName: "com.azure.ai.textanalytics.models.TextAnalyticsException"
name: "TextAnalyticsException"
nameWithType: "TextAnalyticsException"
summary: "General exception for Text Analytics related failures."
inheritances:
- "<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\" />"
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>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#setStackTrace-java.lang.StackTraceElement:A-\">setStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#toString--\">toString</a>"
syntax: "public class **TextAnalyticsException**</br> extends <xref href=\"com.azure.core.exception.AzureException?alt=com.azure.core.exception.AzureException&text=AzureException\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.ai.textanalytics.models.TextAnalyticsException.TextAnalyticsException(java.lang.String,com.azure.ai.textanalytics.models.TextAnalyticsErrorCode,java.lang.String)"
fullName: "com.azure.ai.textanalytics.models.TextAnalyticsException.TextAnalyticsException(String message, TextAnalyticsErrorCode errorCode, String target)"
name: "TextAnalyticsException(String message, TextAnalyticsErrorCode errorCode, String target)"
nameWithType: "TextAnalyticsException.TextAnalyticsException(String message, TextAnalyticsErrorCode errorCode, String target)"
summary: "Initializes a new instance of the `TextAnalyticsException` class."
parameters:
- description: "Text contains any additional details of the exception."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The service returned error code value."
name: "errorCode"
type: "<xref href=\"com.azure.ai.textanalytics.models.TextAnalyticsErrorCode?alt=com.azure.ai.textanalytics.models.TextAnalyticsErrorCode&text=TextAnalyticsErrorCode\" data-throw-if-not-resolved=\"False\" />"
- description: "The target for this exception."
name: "target"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TextAnalyticsException(String message, TextAnalyticsErrorCode errorCode, String target)"
desc: "Initializes a new instance of the `TextAnalyticsException` class."
methods:
- uid: "com.azure.ai.textanalytics.models.TextAnalyticsException.getErrorCode()"
fullName: "com.azure.ai.textanalytics.models.TextAnalyticsException.getErrorCode()"
name: "getErrorCode()"
nameWithType: "TextAnalyticsException.getErrorCode()"
summary: "Gets the <xref uid=\"com.azure.ai.textanalytics.models.TextAnalyticsErrorCode\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextAnalyticsErrorCode\"></xref> for this exception."
syntax: "public TextAnalyticsErrorCode getErrorCode()"
desc: "Gets the <xref uid=\"com.azure.ai.textanalytics.models.TextAnalyticsErrorCode\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextAnalyticsErrorCode\"></xref> for this exception."
returns:
description: "The <xref uid=\"com.azure.ai.textanalytics.models.TextAnalyticsErrorCode\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextAnalyticsErrorCode\"></xref> for this exception."
type: "<xref href=\"com.azure.ai.textanalytics.models.TextAnalyticsErrorCode?alt=com.azure.ai.textanalytics.models.TextAnalyticsErrorCode&text=TextAnalyticsErrorCode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.textanalytics.models.TextAnalyticsException.getErrors()"
fullName: "com.azure.ai.textanalytics.models.TextAnalyticsException.getErrors()"
name: "getErrors()"
nameWithType: "TextAnalyticsException.getErrors()"
summary: "Get the error information list fot this exception."
syntax: "public IterableStream<TextAnalyticsError> getErrors()"
desc: "Get the error information list fot this exception."
returns:
description: "<xref uid=\"com.azure.core.util.IterableStream\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IterableStream\"></xref> of <xref uid=\"com.azure.ai.textanalytics.models.TextAnalyticsError\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextAnalyticsError\"></xref>."
type: "<xref href=\"com.azure.core.util.IterableStream?alt=com.azure.core.util.IterableStream&text=IterableStream\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.textanalytics.models.TextAnalyticsError?alt=com.azure.ai.textanalytics.models.TextAnalyticsError&text=TextAnalyticsError\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.ai.textanalytics.models.TextAnalyticsException.getMessage()"
fullName: "com.azure.ai.textanalytics.models.TextAnalyticsException.getMessage()"
name: "getMessage()"
nameWithType: "TextAnalyticsException.getMessage()"
overridden: "java.lang.Throwable.getMessage()"
syntax: "public String getMessage()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.ai.textanalytics.models.TextAnalyticsException.getTarget()"
fullName: "com.azure.ai.textanalytics.models.TextAnalyticsException.getTarget()"
name: "getTarget()"
nameWithType: "TextAnalyticsException.getTarget()"
summary: "Gets the target for this exception."
syntax: "public String getTarget()"
desc: "Gets the target for this exception."
returns:
description: "The target for this exception."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "General exception for Text Analytics related failures."
metadata: {}
package: "com.azure.ai.textanalytics.models"
artifact: com.azure:azure-ai-textanalytics:5.5.3