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

Inherits Exception.

Public Member Functions

 getExecutionTime ()
 
 setExecutionTime (int $value)
 
 __construct (?string $message, ?int $executionTime)
 

Static Public Member Functions

static construct ($javaClass)
 

Protected Member Functions

 init ()
 

Private Attributes

const javaClassName = "com.aspose.mw.barcode.recognition.MwRecognitionAbortedException"
 
 $javaClass
 

Constructor & Destructor Documentation

◆ __construct()

RecognitionAbortedException::__construct ( ?string  $message,
?int  $executionTime 
)

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

Parameters
$messagenull|string The error message of the exception.
$executionTimenull|int The execution time of current recognition session.

Member Function Documentation

◆ construct()

static RecognitionAbortedException::construct (   $javaClass)
static

◆ getExecutionTime()

RecognitionAbortedException::getExecutionTime ( )

Gets the execution time of current recognition session

Returns
int The execution time of current recognition session

◆ init()

RecognitionAbortedException::init ( )
protected

◆ setExecutionTime()

RecognitionAbortedException::setExecutionTime ( int  $value)

Sets the execution time of current recognition session

Parameters
int$valueThe execution time of current recognition session

Member Data Documentation

◆ $javaClass

RecognitionAbortedException::$javaClass
private

◆ javaClassName

const RecognitionAbortedException::javaClassName = "com.aspose.mw.barcode.recognition.MwRecognitionAbortedException"
private