airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Marru <sma...@apache.org>
Subject Re: Question about GFac Exceptions
Date Wed, 03 Jul 2013 23:44:41 GMT
On Jul 3, 2013, at 7:42 PM, Amila Jayasekara <thejaka.amila@gmail.com> wrote:

> Hi Chathura,
> 
> My understanding is same. If I understood correctly we should not use
> GFacException within providers but use GFacProviderException (Currently we
> use both exception types at Provider level, E.g :- GFacProvider). Then at
> the framework level we use only GFacException.

Makes perfect sense. Glad you are cleaning all this up. 

Suresh

> 
> Thanks
> Amila
> 
> 
> On Wed, Jul 3, 2013 at 7:22 PM, Chathura Herath <cherath@cs.indiana.edu>wrote:
> 
>> I d assume ProviderException is used to wrap exceptions from third party
>> componenets like globus/hadoop.
>> 
>> On Wednesday, July 3, 2013, Amila Jayasekara <thejaka.amila@gmail.com>
>> wrote:
>>> Hi All,
>>> 
>>> In GFac I see following 2 types of exception classes.
>>> 
>>> 1. GFacProviderException
>>> 2. GFacException
>>> 
>>> When should we use GFacProviderException and when should we use
>>> GFacException ?
>>> I see both exception types are used interchangeably within providers. I
>> am
>>> bit confused over this.
>>> 
>>> Appreciate help.
>>> 
>>> Thanks
>>> Amila
>>> 
>> 
>> --
>> Chathura Herath Ph.D
>> http://people.apache.org/~chathura/
>> http://chathurah.blogspot.com/
>> 


Mime
View raw message