SIGN IN SIGN UP

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

Patch by Serhiy Storchaka.
A
Andrew Svetlov committed
5b89840d9cf11014a4b865d79497649f74bf2866