Which Exception class to choose
Posted
by PaN1C_Showt1Me
on Stack Overflow
See other posts from Stack Overflow
or by PaN1C_Showt1Me
Published on 2010-03-30T06:57:34Z
Indexed on
2010/03/30
7:03 UTC
Read the original article
Hit count: 279
Suppose you want to throw Exception
like this:
'Project with the provided ID cannot be assigned.'
and you don't want to write your custom Exception class. What predefined Exception
class would you use for this?
(I'm talking about all classes inheriting from Exception
)
© Stack Overflow or respective owner