mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-10-04 01:15:18 +00:00
GP-0 Corrected exception catch
This commit is contained in:
parent
7f2675c9c1
commit
ec35b81ca8
|
@ -1,6 +1,5 @@
|
|||
/* ###
|
||||
* IP: GHIDRA
|
||||
* REVIEWED: YES
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,6 +15,8 @@
|
|||
*/
|
||||
package ghidra.framework.data;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import ghidra.framework.model.*;
|
||||
import ghidra.framework.plugintool.PluginTool;
|
||||
import ghidra.util.Msg;
|
||||
|
@ -23,8 +24,6 @@ import ghidra.util.SystemUtilities;
|
|||
import ghidra.util.datastruct.WeakDataStructureFactory;
|
||||
import ghidra.util.datastruct.WeakSet;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <code>DomainObjectDBTransaction</code> represents an atomic undoable operation performed
|
||||
* on a single domain object.
|
||||
|
@ -145,7 +144,7 @@ class DomainObjectDBTransaction implements Transaction {
|
|||
try {
|
||||
entry = list.get(transactionID - baseId);
|
||||
}
|
||||
catch (ArrayIndexOutOfBoundsException e) {
|
||||
catch (IndexOutOfBoundsException e) {
|
||||
throw new IllegalStateException("Transaction not found");
|
||||
}
|
||||
if (entry.status != NOT_DONE) {
|
||||
|
|
Loading…
Reference in a new issue