/** Notifies the observers by invoking {@link Observer#error(IOException)} * with the given argument. * @param pException Passed to the observers. * @throws IOException Some observer has thrown an exception, which is being * passed down. This may be the same exception, which has been passed as an * argument. */ protected void noteError(final IOException pException) throws IOException { for (final Observer observer : getObservers()) { observer.error(pException); } }
/** Notifies the observers by invoking {@link Observer#error(IOException)} * with the given argument. * @param pException Passed to the observers. * @throws IOException Some observer has thrown an exception, which is being * passed down. This may be the same exception, which has been passed as an * argument. */ protected void noteError(final IOException pException) throws IOException { for (final Observer observer : getObservers()) { observer.error(pException); } }