
## RecognitionAbortedException class

Represents recognition abort exception which is thrown in timeout exceeding during recognition with BarCodeReader.

```js
new RecognitionAbortedException(message, executionTime)
```

Initializes a new instance of the class with specified recognition abort message.

| Parameter | Description |
| --- | --- |
| message | The error message of the exception. |
| executionTime | The execution time of current recognition session. |

## Methods

| Name | Description |
| --- | --- |
| [getExecutionTime()](#getexecutiontime) | Gets the execution time of current recognition session |
| [setExecutionTime(value)](#setexecutiontime) | Sets the execution time of current recognition session |

### getExecutionTime() {#getexecutiontime}

Gets the execution time of current recognition session

**Returns:** The execution time of current recognition session

### setExecutionTime(value) {#setexecutiontime}

Sets the execution time of current recognition session

| Parameter | Description |
| --- | --- |
| value | The execution time of current recognition session |
