Rename OrmException to StorageException and move to exceptions package
Subclasses are also renamed: * OrmDuplicateKeyException -> DuplicateKeyException * OrmRuntimeException -> StorageRuntimeException Change-Id: I0e934f177e98667ec7cb9912f246ac649a4efd99
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
package com.google.gerrit.server.notedb;
|
||||
|
||||
import com.google.gwtorm.server.OrmException;
|
||||
import com.google.gerrit.exceptions.StorageException;
|
||||
import java.io.IOException;
|
||||
import org.eclipse.jgit.errors.ConfigInvalidException;
|
||||
import org.eclipse.jgit.lib.ObjectId;
|
||||
@@ -35,5 +35,5 @@ public interface NoteDbRewriter {
|
||||
* @return the {@code ObjectId} of the ref's new tip commit.
|
||||
*/
|
||||
ObjectId rewriteCommitHistory(RevWalk revWalk, ObjectInserter inserter, ObjectId currTip)
|
||||
throws IOException, ConfigInvalidException, OrmException;
|
||||
throws IOException, ConfigInvalidException, StorageException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user