Hi ,
I have a bean called RulesConfig which has getters/setters for properties "appName" 
and "precedenceClass".This class has "default" access.
Before parsing,I create an object of this bean and push it onto the digester's 
stack.Then I call the rule
digester.setProperties matching a pattern, which has to call the setters of appName 
and precedenceClass.
But,the call to "setAppName" or "setPrecedenceClass" gives the IllegalAccessException.
When I make the class "public", I am not getting this exception.

Any ideas on why I am getting this behaviour ?
Thanks
RM



--------- Original Message ---------

DATE: 01 Jul 2003 10:35:59 +120
From: Simon Kitching <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

>Hi,
>
>On Tue, 2003-07-01 at 02:10, Radhika Menon wrote:
>> I am using Digester for parsing xml files in my application.I encounter a 
>> "IllegalAccessException" when it tries to invoke a public method on a "default" 
>> access class.
>
>>From memory, I think this happens when the method being called throws an
>exception. You should make sure this is not happening.
>
>If this guess isn't right, please provide more details, like:
>* the digester rules
>* the class being invoked.
>
>Regards,
>
>Simon
>
>



____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to