There is code in another thread today that allows throwing arbitrary
exception. Basically, your advice won't declare to throw any
exception, but using that code you throw checked exceptions anyway.
Please take a look.
-Ramnivas
On Thu, Mar 5, 2009 at 5:38 PM, Silviu ANDRICA wrote:
> Hello,
> t
Hello,
i don't know if this will help you because i don't completely
understand what is your problem. But try this
import java.io.IOException;
import org.aspectj.lang.SoftException;
public final class TestInputStream extends InputStream {
/* (non-Javadoc)
* @see java.io.Inp
Hello,
thanks for the reply, but 'm too new to AspectJ to figure out how to
do it...
Do you have an example?
Best regards,
Silviu ANDRICA
Ramnivas Laddad wrote:
See another email thread for a solution.
In future, AspectJ may offer a better solution. See
https://bugs.eclipse.org/bugs/show_bu
See another email thread for a solution.
In future, AspectJ may offer a better solution. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=240608
-Ramnivas
On Thu, Mar 5, 2009 at 5:01 PM, Andrica Silviu wrote:
> Hello,
> I was hoping you could help me with a problem I have:
> I want to instrum
Hello,
I was hoping you could help me with a problem I have:
I want to instrument calls to InputStream.read(). This method migtht throw an
exception. The problem is that in the application I want to instrument contains
a class that
implements InputStream but its read() method signature does no