Class RecognitionAbortedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspose.barcode.barcoderecognition.BarCodeRecognitionException
-
- com.aspose.barcode.barcoderecognition.RecognitionAbortedException
-
- All Implemented Interfaces:
java.io.Serializable
public class RecognitionAbortedException extends BarCodeRecognitionException implements java.io.Serializable
Represents recognition abort exception which is thrown in timeout exceeding during recognition with BarCodeReader.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecognitionAbortedException()
Initializes a new instance of theclass with specified recognition abort message. RecognitionAbortedException(int executionTime)
Initializes a new instance of theclass with specified recognition abort message. RecognitionAbortedException(java.lang.String message, int executionTime)
Initializes a new instance of theclass with specified recognition abort message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExecutionTime()
Gets the execution time of current recognition sessionvoid
setExecutionTime(int value)
Sets the execution time of current recognition session
-
-
-
Constructor Detail
-
RecognitionAbortedException
public RecognitionAbortedException()
Initializes a new instance of theclass with specified recognition abort message.
-
RecognitionAbortedException
public RecognitionAbortedException(int executionTime)
Initializes a new instance of theclass with specified recognition abort message. - Parameters:
executionTime
- The execution time of current recognition session.
-
RecognitionAbortedException
public RecognitionAbortedException(java.lang.String message, int executionTime)
Initializes a new instance of theclass with specified recognition abort message. - Parameters:
message
- The error message of the exception.executionTime
- The execution time of current recognition session.
-
-
Method Detail
-
getExecutionTime
public int getExecutionTime()
Gets the execution time of current recognition session- Returns:
- The execution time of current recognition session
-
setExecutionTime
public void setExecutionTime(int value)
Sets the execution time of current recognition session- Parameters:
value
- The execution time of current recognition session
-
-