J
Julia
Hi I have a system which composed from 2 different components
1.MailSender
2.MailReciever
the Name of my system is JuliaSystem
I wonder if it is a good approach to derive all my custom exceptions from
JuliaSystemException
and than declare a abase exception for each component?
for example for the mail sender I will have a base exception like the
following
MailSenderException:JuliaSystemException
for specific exception of the mail sender I will do the following
FailedToConnectException:MailSenderException
Thanks.
1.MailSender
2.MailReciever
the Name of my system is JuliaSystem
I wonder if it is a good approach to derive all my custom exceptions from
JuliaSystemException
and than declare a abase exception for each component?
for example for the mail sender I will have a base exception like the
following
MailSenderException:JuliaSystemException
for specific exception of the mail sender I will do the following
FailedToConnectException:MailSenderException
Thanks.