X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=statesystem%2Forg.eclipse.tracecompass.statesystem.core%2Fsrc%2Forg%2Feclipse%2Ftracecompass%2Fstatesystem%2Fcore%2Fbackend%2FIStateHistoryBackend.java;h=6e71574be6d05147a156fb8579c5a88ef74d36ea;hb=ed48dc75057206ed8992076bdfb1c3be1e74b2ff;hp=093e781dc33f73159e001d61196ac67c97560d64;hpb=f42989ac25294353afe905f438759b167b4db10c;p=deliverable%2Ftracecompass.git diff --git a/statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/backend/IStateHistoryBackend.java b/statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/backend/IStateHistoryBackend.java index 093e781dc3..6e71574be6 100644 --- a/statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/backend/IStateHistoryBackend.java +++ b/statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/backend/IStateHistoryBackend.java @@ -19,7 +19,6 @@ import java.util.List; import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; -import org.eclipse.tracecompass.statesystem.core.exceptions.AttributeNotFoundException; import org.eclipse.tracecompass.statesystem.core.exceptions.StateSystemDisposedException; import org.eclipse.tracecompass.statesystem.core.exceptions.TimeRangeException; import org.eclipse.tracecompass.statesystem.core.interval.ITmfStateInterval; @@ -173,17 +172,15 @@ public interface IStateHistoryBackend { * The target timestamp of the query. * @param attributeQuark * The single attribute for which you want the state interval - * @return The state interval matching this timestamp/attribute pair + * @return The state interval matching this timestamp/attribute pair, or + * null if it was not found * @throws TimeRangeException * If the timestamp was invalid - * @throws AttributeNotFoundException - * If the quark was invalid * @throws StateSystemDisposedException * If the state system is disposed while a request is ongoing. */ ITmfStateInterval doSingularQuery(long t, int attributeQuark) - throws TimeRangeException, AttributeNotFoundException, - StateSystemDisposedException; + throws TimeRangeException, StateSystemDisposedException; /** * Debug method to print the contents of the history backend.