Jump to content
Software FX Community

Exception Handling


User (Legacy)

Recommended Posts

Does chartFXLite.NET throw any special exception type that can be catched?

If yes, what are they (I couldn't find it in the "ChartFX_LiteNET_API.chm"

API documentation/help file)?

If not:

1. Will standard try-catch block (see below) is sufficient to catch any

error may be generated by chartFXLite.NET?

2. Is it guaranteed that if chartFXLite.NET raise any exception, it will

not crash the system?

Try

'Code...

Catch exc as exception

'Handle error...

'Uncomment below if special exception type is supported by chartFXLite.NET

'Catch cfxExc as chartFXLiteNetexception

'Handle error...

End try

Thank You!

Link to comment
Share on other sites

Does chartFXLite.NET throw any special exception type that can be catched?

If yes, what are they (I couldn't find it in the "ChartFX_LiteNET_API.chm"

API documentation/help file)?

If not:

1. Will standard try-catch block (see below) is sufficient to catch any

error may be generated by chartFXLite.NET?

2. Is it guaranteed that if chartFXLite.NET raise any exception, it will

not crash the system?

Try

'Code...

Catch exc as exception

'Handle error...

'Uncomment below if special exception type is supported by chartFXLite.NET

'Catch cfxExc as chartFXLiteNetexception

'Handle error...

End try

Thank You!

Link to comment
Share on other sites

Mind to pass out sample for each of the 3 exceptions thrown

(ArgumentException , File exceptions, license file exception)?

Thank you in advance for your help!

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:cVfhQ$rzCHA.1384@webserver1.softwarefx.com...

> Yes if the exception occurs during execution of the code inside the Try

> statement.

>

> We throw some ArgumentException when the arguments passed to some

functions

> are invalid, some file exceptions during IO operations, and License

> Exception when license information is not found.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Mind to pass out sample for each of the 3 exceptions thrown

(ArgumentException , File exceptions, license file exception)?

Thank you in advance for your help!

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:cVfhQ$rzCHA.1384@webserver1.softwarefx.com...

> Yes if the exception occurs during execution of the code inside the Try

> statement.

>

> We throw some ArgumentException when the arguments passed to some

functions

> are invalid, some file exceptions during IO operations, and License

> Exception when license information is not found.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...