Class FormRecognizerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.ai.formrecognizer.models.FormRecognizerException
- All Implemented Interfaces:
Serializable
public class FormRecognizerException
extends com.azure.core.exception.AzureException
General exception for FormRecognizer client-side related failures.
FormRecognizerErrorInformation
- See Also:
-
Constructor Summary
ConstructorDescriptionFormRecognizerException
(String message, List<FormRecognizerErrorInformation> errorInformationList) Initializes a new instance ofFormRecognizerException
class -
Method Summary
Modifier and TypeMethodDescriptionGet the error information list for this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FormRecognizerException
public FormRecognizerException(String message, List<FormRecognizerErrorInformation> errorInformationList) Initializes a new instance ofFormRecognizerException
class- Parameters:
message
- Text containing the details of the exception.errorInformationList
- The List of error information that caused the exception
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getErrorInformation
Get the error information list for this exception.- Returns:
- the unmodifiable error information list for this exception.
-