public class RegisterCommand implements RegistrationCommand {
+ @Override
+ public String getName() {
+ return "register";
+ }
+
@Override
public void attachToSubparser(final Subparser subparser) {
subparser.help("Register a phone number with SMS or voice verification.");
}
throw new UserErrorException(message);
} catch (IOException e) {
- throw new IOErrorException("Request verify error: " + e.getMessage());
+ throw new IOErrorException("Request verify error: " + e.getMessage(), e);
}
}
}