D
Daniel Klein
When creating a custom exception that derives from ApplicationException,
why is it necessary to have the 3 basic contructors, i.e.
Public Sub New()
Public Sub New(ByVal message As String)
Public Sub New(ByVal message As String, ByVal inner As Exception)
It seems that all of the texts say to do this but my custom exception will
have it's own constructors based on the application's requirements.
Is there some .NET reason to include these?
Thanks,
Daniel Klein
Dublin, Ohio
why is it necessary to have the 3 basic contructors, i.e.
Public Sub New()
Public Sub New(ByVal message As String)
Public Sub New(ByVal message As String, ByVal inner As Exception)
It seems that all of the texts say to do this but my custom exception will
have it's own constructors based on the application's requirements.
Is there some .NET reason to include these?
Thanks,
Daniel Klein
Dublin, Ohio