more IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1149 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
b5e513cf3e
commit
d3c8d535c0
|
@ -64,7 +64,9 @@ final public class ExceptionHandler {
|
|||
}
|
||||
|
||||
public boolean equals(ExceptionHandler h) {
|
||||
assert h != null;
|
||||
if (h == null) {
|
||||
throw new IllegalArgumentException("h is null");
|
||||
}
|
||||
return h.handler == handler && (catchClass == null ? h.catchClass == null : catchClass.equals(h.catchClass));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue