Free Support Forum - aspose.com

Exception handling - subclassing ProjectException

Hi,

Would it be possible, in a future version, for you to subclass the ProjectException class to better identify exactly which exception has occured?

Right now if the exception handling is around a block of code that could raise an exception from more than one statement the only way to determine what exception you’re trying to handle is to parse that exception. It would be much nice if we could have multiple catch blocks.

Thanks,
Trevor

Hello Trevor,

Thanks for your consideration.

Yes, you are right. Single ProjectException class is not enough even now.
Next 1.1 release will contain several new Exception classes.

Thanks Alexy. Since the answer to both of my last two questions was ‘it should be in 1.1’ you’ve definitely got me interested in the next release.

Do you have an approximate timeline yet as to when it will be ready?

Trevor

Hello Trevor,

Thanks for your consideration.

Next release will be ready in 2 weeks or may be earlier.

Hello Trevor,

We have release Aspose.Project 1.1.0 that supports new exception hierarchy and projects editing.