diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/CObject.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/CObject.java index b7e878d0ab0..a71f92a8b2c 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/CObject.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/CObject.java @@ -8,12 +8,6 @@ import org.eclipse.cdt.debug.core.cdi.model.ICDIObject; import org.eclipse.cdt.debug.core.cdi.model.ICDITarget; /** - * @author alain - * - * To change this generated comment edit the template variable "typecomment": - * Window>Preferences>Java>Templates. - * To enable and disable the creation of type comments go to - * Window>Preferences>Java>Code Generation. */ public class CObject implements ICDIObject { diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/CSession.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/CSession.java index 6d2a047d1eb..167b3898aec 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/CSession.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/CSession.java @@ -204,7 +204,7 @@ public class CSession implements ICDISession, ICDISessionObject { session.postCommand(dir); dir.getMIInfo(); } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/DestroyedEvent.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/DestroyedEvent.java index 325c36ffd6b..05ef31ea435 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/DestroyedEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/DestroyedEvent.java @@ -11,12 +11,6 @@ import org.eclipse.cdt.debug.mi.core.event.MIThreadExitEvent; import org.eclipse.cdt.debug.mi.core.event.MIVarChangedEvent; /** - * @author alain - * - * To change this generated comment edit the template variable "typecomment": - * Window>Preferences>Java>Templates. - * To enable and disable the creation of type comments go to - * Window>Preferences>Java>Code Generation. */ public class DestroyedEvent implements ICDIDestroyedEvent { diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SessionObject.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SessionObject.java index cf63d52640c..ba945990f24 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SessionObject.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SessionObject.java @@ -9,12 +9,6 @@ import org.eclipse.cdt.debug.core.cdi.ICDISession; import org.eclipse.cdt.debug.core.cdi.ICDISessionObject; /** - * @author alain - * - * To change this generated comment edit the template variable "typecomment": - * Window>Preferences>Java>Templates. - * To enable and disable the creation of type comments go to - * Window>Preferences>Java>Code Generation. */ public class SessionObject implements ICDISessionObject { diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/Signal.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/Signal.java index 5ab0047b8f7..b3421323105 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/Signal.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/Signal.java @@ -9,12 +9,6 @@ import org.eclipse.cdt.debug.core.cdi.ICDISignal; import org.eclipse.cdt.debug.mi.core.event.MISignalEvent; /** - * @author alain - * - * To change this generated comment edit the template variable "typecomment": - * Window>Preferences>Java>Templates. - * To enable and disable the creation of type comments go to - * Window>Preferences>Java>Code Generation. */ public class Signal extends SessionObject implements ICDISignal { diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SignalManager.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SignalManager.java index a54f2c11aa4..b47d2435163 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SignalManager.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SignalManager.java @@ -10,12 +10,6 @@ import org.eclipse.cdt.debug.core.cdi.ICDISignal; import org.eclipse.cdt.debug.core.cdi.ICDISignalManager; /** - * @author alain - * - * To change this generated comment edit the template variable "typecomment": - * Window>Preferences>Java>Templates. - * To enable and disable the creation of type comments go to - * Window>Preferences>Java>Code Generation. */ public class SignalManager extends SessionObject implements ICDISignalManager { diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java index 96ab81743d3..add91464da7 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java @@ -44,7 +44,7 @@ public class SourceManager extends SessionObject implements ICDISourceManager { mi.postCommand(dir); dir.getMIInfo(); } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } } @@ -60,7 +60,7 @@ public class SourceManager extends SessionObject implements ICDISourceManager { MIGDBShowDirectoriesInfo info = dir.getMIGDBShowDirectoriesInfo(); return info.getDirectories(); } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } } @@ -72,7 +72,7 @@ public class SourceManager extends SessionObject implements ICDISourceManager { mi.postCommand(solib); solib.getMIInfo(); } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } } @@ -85,7 +85,7 @@ public class SourceManager extends SessionObject implements ICDISourceManager { MIGDBShowSolibSearchPathInfo info = dir.getMIGDBShowSolibSearchPathInfo(); return info.getDirectories(); } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } } @@ -97,7 +97,7 @@ public class SourceManager extends SessionObject implements ICDISourceManager { mi.postCommand(solib); solib.getMIInfo(); } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } } @@ -118,7 +118,7 @@ public class SourceManager extends SessionObject implements ICDISourceManager { } return instructions; } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } } @@ -149,7 +149,7 @@ public class SourceManager extends SessionObject implements ICDISourceManager { } return instructions; } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } } @@ -170,7 +170,7 @@ public class SourceManager extends SessionObject implements ICDISourceManager { } return mixed; } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } } @@ -201,7 +201,7 @@ public class SourceManager extends SessionObject implements ICDISourceManager { } return mixed; } catch (MIException e) { - throw new CDIException(e.getMessage()); + throw new MI2CDIException(e); } }