ss: Replace AttributeNotFoundException with IOOBE for quark parameters
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core.tests / stubs / org / eclipse / tracecompass / tmf / tests / stubs / analysis / TestStateSystemProvider.java
index bfc692ac6d7604535b50455d24f122452d98d6b6..72fb9db575e5219611c3bcd29c4240a26193d0cf 100644 (file)
@@ -18,7 +18,6 @@ import java.util.concurrent.locks.ReentrantLock;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.eclipse.tracecompass.statesystem.core.ITmfStateSystemBuilder;
-import org.eclipse.tracecompass.statesystem.core.exceptions.AttributeNotFoundException;
 import org.eclipse.tracecompass.statesystem.core.exceptions.StateValueTypeException;
 import org.eclipse.tracecompass.statesystem.core.exceptions.TimeRangeException;
 import org.eclipse.tracecompass.statesystem.core.statevalue.TmfStateValue;
@@ -63,7 +62,7 @@ public class TestStateSystemProvider extends AbstractTmfStateProvider {
                 int quarkId = ss.getQuarkAbsoluteAndAdd("String");
                 int quark = ss.getQuarkRelativeAndAdd(quarkId, fString);
                 ss.modifyAttribute(event.getTimestamp().getValue(), TmfStateValue.newValueInt(fCount++), quark);
-            } catch (TimeRangeException | AttributeNotFoundException | StateValueTypeException e) {
+            } catch (TimeRangeException | StateValueTypeException e) {
 
             }
         }
@@ -114,8 +113,6 @@ public class TestStateSystemProvider extends AbstractTmfStateProvider {
         sfHandler.eventHandle(ss, event);
     }
 
-
-
     @Override
     public void processEvent(@NonNull ITmfEvent event) {
         fLock.lock();
This page took 0.025822 seconds and 5 git commands to generate.