Class IronOcrNativeException
Represents errors that occur in IronOCR native code
Inheritance
Namespace: IronOcr.Exceptions
Assembly: IronOcr.dll
Syntax
public class IronOcrNativeException : Exception
A failure inside IronOCR's native engine code surfaces as IronOcrNativeException. It usually points to a runtime or platform problem rather than your calling code, so check that the native dependencies deployed with your application, that the target platform is supported, and that the input reached the engine intact. Read the inner exception for the underlying native detail. It derives directly from System.Exception.
Constructors
IronOcrNativeException()
Initializes a new instance of the IronOcrNativeException class.
Declaration
public IronOcrNativeException()
IronOcrNativeException(String)
Initializes a new instance of the IronOcrNativeException class with a specified error message.
Declaration
public IronOcrNativeException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message that describes the error. |
IronOcrNativeException(String, Exception)
Initializes a new instance of the IronOcrNativeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public IronOcrNativeException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The error message that explains the reason for the exception. |
| System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (langword_csharp_Nothing in Visual Basic) if no inner exception is specified. |