Class ExecuteShellCommandException
Inheritance
Namespace: DynamicTesseract
Assembly: IronOcr.dll
Syntax
public class ExecuteShellCommandException : Exception
ExecuteShellCommandException is raised when an external command the interop layer runs, such as a native Tesseract tool, exits with an error or cannot start. The message and inner exception report what the command returned, so check that the executable is on the path, that arguments and paths are valid, and that the process has permission to run it. Deriving from Exception, it is caught by a general handler too. The debugging how-to helps trace the call.
Constructors
ExecuteShellCommandException(String)
Declaration
public ExecuteShellCommandException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message |
ExecuteShellCommandException(String, Exception)
Declaration
public ExecuteShellCommandException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | |
| System.Exception | innerException |