Hi @Babita11 You should not throw generic exceptions. You should be
subclassing Exception and then throwing your subclass, so that the type
of the exception actually provides information about what is going on,
allowing clients of the function to catch and treat it appropriately.
Example:Here Exceptio is generic in nature and you should not be using
it. Instead of that you should use the specific category type i.e.,
either "LoginException", "RepositoryException", depending upon the
nature of exc...