Edited Exception handling on SecretWordManager