com.aspose.barcode.barcoderecognition

Class 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 and Description
      RecognitionAbortedException()
      Initializes a new instance of the class with specified recognition abort message.
      RecognitionAbortedException(int executionTime)
      Initializes a new instance of the class with specified recognition abort message.
      RecognitionAbortedException(java.lang.String message, int executionTime)
      Initializes a new instance of the class with specified recognition abort message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getExecutionTime()
      Gets the execution time of current recognition session
      void setExecutionTime(int value)
      Sets the execution time of current recognition session
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • 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(java.lang.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 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