Hello
How do I catch the error which are thrown in the class?
I have a class as follows:
Namespace ErrorClass1
PublicClass Class1
Private mId AsInteger
PublicProperty Id() AsInteger
Get
Return mId
EndGet
Set(ByVal Value AsInteger)
Try
mId = Value
Catch ex As Exception
ThrowNew...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.