Aspose.Barcode for Python via Java Generation and Recognition API docs

Exception raised when barcode recognition is aborted. More...

Inherits Exception.

Public Member Functions

None __init__ (self, Optional[str] message, Optional[int] executionTime)
 Initializes a new instance of the RecognitionAbortedException class with specified recognition abort message. More...
 
int getExecutionTime (self)
 Gets the execution time of current recognition session. More...
 
None setExecutionTime (self, int value)
 Sets the execution time of current recognition session. More...
 

Static Public Member Functions

RecognitionAbortedException construct (javaClass)
 

Public Attributes

 javaClass
 

Static Public Attributes

string javaClassName = "com.aspose.mw.barcode.recognition.MwRecognitionAbortedException"
 

Detailed Description

Exception raised when barcode recognition is aborted.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
Optional[str]  message,
Optional[int]  executionTime 
)

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

Parameters
messageThe error message of the exception.
executionTimeThe execution time of current recognition session.

Member Function Documentation

◆ construct()

RecognitionAbortedException construct (   javaClass)
static

◆ getExecutionTime()

int getExecutionTime (   self)

Gets the execution time of current recognition session.

Returns
: The execution time of current recognition session

◆ setExecutionTime()

None setExecutionTime (   self,
int  value 
)

Sets the execution time of current recognition session.

Parameters
valueThe execution time of current recognition session

Member Data Documentation

◆ javaClass

javaClass

◆ javaClassName

string javaClassName = "com.aspose.mw.barcode.recognition.MwRecognitionAbortedException"
static