SIGN IN SIGN UP

Issue #16714: use 'raise' exceptions, don't 'throw'.

Patch by Serhiy Storchaka.
A
Andrew Svetlov committed
a19195984922ce89e7695c93b3bb45c3e0e6d732