+ } catch (PinLockedException e) {
+ throw new Error.Failure(
+ "Verification failed! This number is locked with a pin. Hours remaining until reset: "
+ + (e.getTimeRemaining() / 1000 / 60 / 60));
+ } catch (IncorrectPinException e) {
+ throw new Error.Failure("Verification failed! Invalid pin, tries remaining: " + e.getTriesRemaining());
+ } catch (PinLockMissingException e) {
+ throw new Error.Failure("Account is pin locked, but pin data has been deleted on the server.");