Class OnfidoException

    • Constructor Detail

      • OnfidoException

        public OnfidoException​(String message,
                               Throwable cause)
        Instantiates a new OnfidoException.
        Parameters:
        message - the message
        cause - the cause
      • OnfidoException

        public OnfidoException​(String message)
        Instantiates a new OnfidoException.
        Parameters:
        message - the message
    • Method Detail

      • networkError

        public static OnfidoException networkError​(Throwable cause)
        Throws a new OnfidoException with a network timeout message.
        Parameters:
        cause - the cause
        Returns:
        the onfido exception