FormRecognizerException Class

public class FormRecognizerException
extends AzureException

General exception for FormRecognizer client-side related failures. FormRecognizerErrorInformation

Constructor Summary

Constructor Description
FormRecognizerException(String message, List<FormRecognizerErrorInformation> errorInformationList)

Initializes a new instance of FormRecognizerException class

Method Summary

Modifier and Type Method and Description
List<FormRecognizerErrorInformation> getErrorInformation()

Get the error information list for this exception.

String getMessage()

Methods inherited from java.lang.Object

Methods inherited from java.lang.Throwable

Constructor Details

FormRecognizerException

public FormRecognizerException(String message, List errorInformationList)

Initializes a new instance of FormRecognizerException class

Parameters:

message - Text containing the details of the exception.
errorInformationList - The List of error information that caused the exception

Method Details

getErrorInformation

public List getErrorInformation()

Get the error information list for this exception.

Returns:

the unmodifiable error information list for this exception.

getMessage

public String getMessage()

Overrides:

FormRecognizerException.getMessage()

Applies to