tmf: Add a StateSystemDisposedException
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.ui / src / org / eclipse / linuxtools / internal / lttng2 / kernel / ui / views / controlflow / ControlFlowPresentationProvider.java
index 222f688d61dd6d43410ccd890a40675b46f54ada..cc5f51f153074ce6bc7f7342e40d1255f0addac1 100644 (file)
@@ -20,6 +20,7 @@ import org.eclipse.linuxtools.internal.lttng2.kernel.core.Attributes;
 import org.eclipse.linuxtools.internal.lttng2.kernel.core.StateValues;
 import org.eclipse.linuxtools.internal.lttng2.kernel.ui.Messages;
 import org.eclipse.linuxtools.tmf.core.exceptions.AttributeNotFoundException;
+import org.eclipse.linuxtools.tmf.core.exceptions.StateSystemDisposedException;
 import org.eclipse.linuxtools.tmf.core.exceptions.StateValueTypeException;
 import org.eclipse.linuxtools.tmf.core.exceptions.TimeRangeException;
 import org.eclipse.linuxtools.tmf.core.interval.ITmfStateInterval;
@@ -129,6 +130,8 @@ public class ControlFlowPresentationProvider extends TimeGraphPresentationProvid
                 e.printStackTrace();
             } catch (StateValueTypeException e) {
                 e.printStackTrace();
+            } catch (StateSystemDisposedException e) {
+                /* Ignored */
             }
             int status = ((ControlFlowEvent) event).getStatus();
             if (status == StateValues.PROCESS_STATUS_RUN_SYSCALL) {
@@ -144,6 +147,8 @@ public class ControlFlowPresentationProvider extends TimeGraphPresentationProvid
                     e.printStackTrace();
                 } catch (TimeRangeException e) {
                     e.printStackTrace();
+                } catch (StateSystemDisposedException e) {
+                    /* Ignored */
                 }
             }
         }
This page took 0.025848 seconds and 5 git commands to generate.