Class QRCodeScannerSDKException

  • All Implemented Interfaces:
    java.io.Serializable

    public class QRCodeScannerSDKException
    extends java.lang.Exception
    This exception is thrown when a problem occurs while using the QR Code Scanner SDK.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      QRCodeScannerSDKException​(int errorCode)
      Constructs a new QRCodeScannerSDKException.
      QRCodeScannerSDKException​(int errorCode, java.lang.Throwable cause)
      Constructs a new QRCodeScannerSDKException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()
      Gets the error code.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • QRCodeScannerSDKException

        public QRCodeScannerSDKException​(int errorCode)
        Constructs a new QRCodeScannerSDKException.
        Parameters:
        errorCode - The error code. See QRCodeScannerSDKErrorCodes for more details.
      • QRCodeScannerSDKException

        public QRCodeScannerSDKException​(int errorCode,
                                         java.lang.Throwable cause)
        Constructs a new QRCodeScannerSDKException.
        Parameters:
        errorCode - The error code. See QRCodeScannerSDKErrorCodes for more details.
        cause - Throwable describing the cause of the failure.
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Gets the error code.
        Returns:
        Error code