public final class TextAnalyticsError extends Object
TextAnalyticsError model.| Constructor and Description |
|---|
TextAnalyticsError(TextAnalyticsErrorCode errorCode,
String message,
String target)
Creates a
TextAnalyticsError model that describes text analytics error. |
| Modifier and Type | Method and Description |
|---|---|
TextAnalyticsErrorCode |
getErrorCode()
Get the code property: Error code.
|
String |
getMessage()
Get the message property: Error message.
|
String |
getTarget()
Get the target property: Error target.
|
public TextAnalyticsError(TextAnalyticsErrorCode errorCode, String message, String target)
TextAnalyticsError model that describes text analytics error.errorCode - The error code.message - The error message.target - The error target.public TextAnalyticsErrorCode getErrorCode()
public String getMessage()
public String getTarget()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.