RecognitionAbortedException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.barcode.barcoderecognition.BarCodeRecognitionException

All Implemented Interfaces: java.io.Serializable

public class RecognitionAbortedException extends BarCodeRecognitionException implements Serializable

Represents recognition abort exception which is thrown in timeout exceeding during recognition with BarCodeReader.

Constructors

ConstructorDescription
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(String message, int executionTime)Initializes a new instance of the class with specified recognition abort message.

Methods

MethodDescription
addSuppressed(Throwable arg0)
equals(Object arg0)
fillInStackTrace()
getCause()
getClass()
getExecutionTime()Gets the execution time of current recognition session
getLocalizedMessage()
getMessage()
getStackTrace()
getSuppressed()
hashCode()
initCause(Throwable arg0)
notify()
notifyAll()
printStackTrace()
printStackTrace(PrintStream arg0)
printStackTrace(PrintWriter arg0)
setExecutionTime(int value)Sets the execution time of current recognition session
setStackTrace(StackTraceElement[] arg0)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

RecognitionAbortedException()

public RecognitionAbortedException()

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

RecognitionAbortedException(int executionTime)

public RecognitionAbortedException(int executionTime)

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

Parameters:

ParameterTypeDescription
executionTimeintThe execution time of current recognition session.

RecognitionAbortedException(String message, int executionTime)

public RecognitionAbortedException(String message, int executionTime)

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

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe error message of the exception.
executionTimeintThe execution time of current recognition session.

addSuppressed(Throwable arg0)

public final synchronized void addSuppressed(Throwable arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Throwable

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

fillInStackTrace()

public synchronized Throwable fillInStackTrace()

Returns: java.lang.Throwable

getCause()

public synchronized Throwable getCause()

Returns: java.lang.Throwable

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getExecutionTime()

public int getExecutionTime()

Gets the execution time of current recognition session

Returns: int - The execution time of current recognition session

getLocalizedMessage()

public String getLocalizedMessage()

Returns: java.lang.String

getMessage()

public String getMessage()

Returns: java.lang.String

getStackTrace()

public StackTraceElement[] getStackTrace()

Returns: java.lang.StackTraceElement[]

getSuppressed()

public final synchronized Throwable[] getSuppressed()

Returns: java.lang.Throwable[]

hashCode()

public native int hashCode()

Returns: int

initCause(Throwable arg0)

public synchronized Throwable initCause(Throwable arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Throwable

Returns: java.lang.Throwable

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

printStackTrace()

public void printStackTrace()

printStackTrace(PrintStream arg0)

public void printStackTrace(PrintStream arg0)

Parameters:

ParameterTypeDescription
arg0java.io.PrintStream

printStackTrace(PrintWriter arg0)

public void printStackTrace(PrintWriter arg0)

Parameters:

ParameterTypeDescription
arg0java.io.PrintWriter

setExecutionTime(int value)

public void setExecutionTime(int value)

Sets the execution time of current recognition session

Parameters:

ParameterTypeDescription
valueintThe execution time of current recognition session

setStackTrace(StackTraceElement[] arg0)

public void setStackTrace(StackTraceElement[] arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.StackTraceElement[]

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int