Class QRCodeScannerSDKException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vasco.digipass.sdk.utils.qrcodescanner.QRCodeScannerSDKException
- All Implemented Interfaces:
Serializable
This exception is thrown when a problem occurs while using the QR Code Scanner SDK.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQRCodeScannerSDKException
(int errorCode) Constructs a new QRCodeScannerSDKException.QRCodeScannerSDKException
(int errorCode, Throwable cause) Constructs a new QRCodeScannerSDKException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QRCodeScannerSDKException
public QRCodeScannerSDKException(int errorCode) Constructs a new QRCodeScannerSDKException.- Parameters:
errorCode
- The error code. SeeQRCodeScannerSDKErrorCodes
for more details.
-
QRCodeScannerSDKException
Constructs a new QRCodeScannerSDKException.- Parameters:
errorCode
- The error code. SeeQRCodeScannerSDKErrorCodes
for more details.cause
- Throwable describing the cause of the failure.
-
-
Method Details
-
getErrorCode
public int getErrorCode()Gets the error code.- Returns:
- Error code
-