Request: Better exception handling

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
d3nton
Posts: 137
Joined: Thu Oct 25, 2012 9:48 am

Request: Better exception handling

Post by d3nton »

Hello!

In XLSReadWrite nearly all exceptions are raised as untyped exceptions (Exception.Create).
This makes differentiated exception handling not very easy. Would it be possible to raise a bit more specified exceptions (at least a new class EXLSReadWriteException or s.th similar).
I guess this would save a lot of people a lot of time.
Would this be possible in one of the next versions?
Thanks a lot.

regards d3nton
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Request: Better exception handling

Post by larsa »

Hello

I agree. I will add an exception class in the next major update. I'm working in it now.
Lars Arvidsson, Axolot Data
d3nton
Posts: 137
Joined: Thu Oct 25, 2012 9:48 am

Re: Request: Better exception handling

Post by d3nton »

Nice to hear that! Thanks!
Post Reply