Accusoft USB Scanner SDK
ScanException Class Reference

Scan Exception class, extends Exception, and provides a method to obtain the ScanError that generated the exception. More...

List of all members.

Public Member Functions

 ScanException (ScanError scanError)
 Constructor.
ScanError getError ()
 Get the ScanError that caused this exception.

Detailed Description

Scan Exception class, extends Exception, and provides a method to obtain the ScanError that generated the exception.


Constructor & Destructor Documentation

ScanException ( ScanError  scanError)

Constructor.

Parameters:
scanErrorThe ScanError that is the cause of this exception.

Member Function Documentation

ScanError getError ( )

Get the ScanError that caused this exception.

Returns:
The ScanError that caused this exception.