/** * Set the checked exceptions thrown by this method. Use null or an * empty array for none. */ public void setExceptions(Class[] exceptions) { String[] names = null; if (exceptions != null) { names = new String[exceptions.length]; for (int i = 0; i < exceptions.length; i++) names[i] = exceptions[i].getName(); } setExceptions(names); }
/** * Set the checked exceptions thrown by this method. Use null or an * empty array for none. */ public void setExceptions(Class[] exceptions) { String[] names = null; if (exceptions != null) { names = new String[exceptions.length]; for (int i = 0; i < exceptions.length; i++) names[i] = exceptions[i].getName(); } setExceptions(names); }
/** * Set the checked exceptions thrown by this method. Use null or an * empty array for none. */ public void setExceptions(BCClass[] exceptions) { String[] names = null; if (exceptions != null) { names = new String[exceptions.length]; for (int i = 0; i < exceptions.length; i++) names[i] = exceptions[i].getName(); } setExceptions(names); }
/** * Set the checked exceptions thrown by this method. Use null or an * empty array for none. */ public void setExceptions(BCClass[] exceptions) { String[] names = null; if (exceptions != null) { names = new String[exceptions.length]; for (int i = 0; i < exceptions.length; i++) names[i] = exceptions[i].getName(); } setExceptions(names); }
void read(Attribute other) { setExceptions(((Exceptions) other).getExceptionNames()); }
void read(Attribute other) { setExceptions(((Exceptions) other).getExceptionNames()); }