ATEasy Calls .NET Method Which Throws Exception Object
Phil V.
Tucson, AZ

Aug 9, 2010
1 Post

ATEasy calls .NET method which throws Exception object

I am using .NET classes  as on object in ATEasy which throw an Exception object if an error occurs. These modules use the Exception class from mscorlib.

Is it possible to catch and handle the exception, so that I can read its message?

Solution Available
DrATEasy (Ron Y.)
Mission Viejo,

Aug 10, 2010
251 Posts

Re: ATEasy calls .NET method which throws Exception object

You can use the ATEasy try-catch statement or you can catch the error using the module OnError. Here is the syntax for the statement (more information in the ATEasy help):

! .NET calls

catch else
! add you exception handling here

Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]