Class RecognitionAbortedException

All Implemented Interfaces:
Serializable

public class RecognitionAbortedException extends BarCodeRecognitionException implements Serializable
Represents recognition abort exception which is thrown in timeout exceeding during recognition with BarCodeReader.
See Also:
  • Constructor Details

    • RecognitionAbortedException

      public RecognitionAbortedException()
      Initializes a new instance of the class with specified recognition abort message.
    • RecognitionAbortedException

      public RecognitionAbortedException(int executionTime)
      Initializes a new instance of the class with specified recognition abort message.
      Parameters:
      executionTime - The execution time of current recognition session.
    • RecognitionAbortedException

      public RecognitionAbortedException(String message, int executionTime)
      Initializes a new instance of the class with specified recognition abort message.
      Parameters:
      message - The error message of the exception.
      executionTime - The execution time of current recognition session.
  • Method Details

    • 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