Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] softening exceptions

Hi There,
 
I wish to soften all exceptions except the FileNotFoundException thrown by the constructor of FileInputStream. I tried the following:
 
declare soft: Exception+ : within(Client) && call(* Object+.*(..))
  || call(Object+.new(..)) && !(call(FileInputStream.new(String));
  
Unfortunately this seems to unsoften all exceptions. Can anyone help?
 
Eric Macaulay

Back to the top