Sometime you may need to manually raise exception in Python programming instead of thrown automatically.