Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[corona-dev] Exception handling

Hi,

 

 

I’ve added a comment to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=159573 (Exceptions). It’s just a comment for old M5 implementation (with the example, please check the example it should give you idea what I meant by such implementation).

I’ve also added some advantages and disadvantages of that approach. Please add your comments J.

 

I’ve also thought of using annotations which Joel mentioned yesterday, and I’m not sure how we should do it.

Problem 1:

We cannot create annotation class within corona.container.manager plugin, as we would have to change client.axis2 plugin to be dependant on container.manager (circular dependency problem).

Problem 2:

And I’m not sure if it’s a good idea to create annotation within client axis2 plugin, as the annotation contains some kind of business logic (reconnection) which I think shouldn’t be there.

 

 

I’ve got additional proposal for exception handling. What do you think of using AspectJ for solving that problem?

I’ll try to get some more knowledge of how we could proceed with aspect oriented programming; and I’ll try to prepare some kind of example implementation. I’m just not sure whether we can use it for corona.

 

Cheers,

Piotr

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

Back to the top