Remove unused DirectoryException

Callers of AccountDirectory#fillAccountInfo converted DirectoryException
into OrmException. By removing the throws DirectoryException clause from
that method a lot of callers no longer need to deal with OrmException.

Change-Id: I23a74bd35f98f8c728f28c9b4ef5e49680f1d270
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2018-06-20 11:05:33 +02:00
parent 09177ad9a8
commit 6fc34edb31
10 changed files with 20 additions and 50 deletions

View File

@@ -47,17 +47,6 @@ public abstract class AccountDirectory {
STATUS
}
public abstract void fillAccountInfo(Iterable<? extends AccountInfo> in, Set<FillOptions> options)
throws DirectoryException;
@SuppressWarnings("serial")
public static class DirectoryException extends Exception {
public DirectoryException(String message, Throwable why) {
super(message, why);
}
public DirectoryException(Throwable why) {
super(why);
}
}
public abstract void fillAccountInfo(
Iterable<? extends AccountInfo> in, Set<FillOptions> options);
}