/** * Return true if the method declares that it throws the given * exception type. */ public boolean throwsException(Class type) { if (type == null) return false; return throwsException(type.getName()); }
/** * Return true if the method declares that it throws the given * exception type. */ public boolean throwsException(Class type) { if (type == null) return false; return throwsException(type.getName()); }
/** * Return true if the method declares that it throws the given * exception type. */ public boolean throwsException(BCClass type) { if (type == null) return false; return throwsException(type.getName()); }
/** * Return true if the method declares that it throws the given * exception type. */ public boolean throwsException(BCClass type) { if (type == null) return false; return throwsException(type.getName()); }