J
Jason MacKenzie
I'm wondering what the best way to pass an exception up to an aspx page (for
example) from my object is.
If I have a method in my class
public function Test() as string
try
catch eEx as exception
end try
end function
In my aspx page:
dim myObj as new TestObject()
dim strString as string = myObj.Test
I guess what I'm wondering is the best way to handle an exception that may
occur in my TestObject class in my aspx page.
I hope that made sense,
Jason MacKenzie
example) from my object is.
If I have a method in my class
public function Test() as string
try
catch eEx as exception
end try
end function
In my aspx page:
dim myObj as new TestObject()
dim strString as string = myObj.Test
I guess what I'm wondering is the best way to handle an exception that may
occur in my TestObject class in my aspx page.
I hope that made sense,
Jason MacKenzie