Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Exception cache with aspectj

Hi ,
Can anybody faced a similar situation like this.

How to specify a pointcut and advice for caching this type of exception.

                try{
                        int array[]={10,20,30};
                        System.out.println("The value of array is" +array[5]);
                   }
                catch(ArrayIndexOutOfBoundsException aiob){
                         aiob.printStackTrace();
                }

Thanks,
Krishna

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


Back to the top