mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 00:45:28 +02:00
Replaced 'toString()' by 'getMessage()' for CDI exceptions.
This commit is contained in:
parent
b53b2d419c
commit
f9ce0bfae3
9 changed files with 37 additions and 24 deletions
|
@ -1,3 +1,12 @@
|
|||
2003-04-07 Mikhail Khodjaiants
|
||||
Replaced 'toString()' by 'getMessage()' for CDI exceptions.
|
||||
* CSharedLibraryManager.java
|
||||
* CUpdateManager.java
|
||||
* CDebugTarget.java
|
||||
* CStackFrame.java
|
||||
* CThread.java
|
||||
* CVariable.java
|
||||
|
||||
2003-04-01 Mikhail Khodjaiants
|
||||
Moved the 'Auto-Refresh' preferences from CDebugUIPlugin to use it for initialization of update managers.
|
||||
* ICDebugConstants.java
|
||||
|
|
|
@ -156,7 +156,7 @@ public class CSharedLibraryManager extends CUpdateManager implements ICSharedLib
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
((CDebugTarget)getDebugTarget()).targetRequestFailed( e.toString(), null );
|
||||
((CDebugTarget)getDebugTarget()).targetRequestFailed( e.getMessage(), null );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ public class CSharedLibraryManager extends CUpdateManager implements ICSharedLib
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
((CDebugTarget)getDebugTarget()).targetRequestFailed( e.toString(), null );
|
||||
((CDebugTarget)getDebugTarget()).targetRequestFailed( e.getMessage(), null );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ public abstract class CUpdateManager implements ICUpdateManager, IAdaptable
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
((CDebugTarget)getDebugTarget()).targetRequestFailed( e.toString(), null );
|
||||
((CDebugTarget)getDebugTarget()).targetRequestFailed( e.getMessage(), null );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -529,7 +529,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -597,7 +597,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -614,7 +614,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -801,7 +801,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1069,7 +1069,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2092,7 +2092,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2410,7 +2410,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2444,7 +2444,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2491,7 +2491,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2519,7 +2519,7 @@ public class CDebugTarget extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -578,7 +578,7 @@ public class CStackFrame extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), null );
|
||||
targetRequestFailed( e.getMessage(), null );
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
@ -597,7 +597,7 @@ public class CStackFrame extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), null );
|
||||
targetRequestFailed( e.getMessage(), null );
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
|
|
@ -503,7 +503,7 @@ public class CThread extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -522,7 +522,7 @@ public class CThread extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -598,7 +598,7 @@ public class CThread extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -623,7 +623,7 @@ public class CThread extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -641,7 +641,7 @@ public class CThread extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -843,7 +843,7 @@ public class CThread extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -861,7 +861,7 @@ public class CThread extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), e );
|
||||
targetRequestFailed( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -207,7 +207,7 @@ public abstract class CVariable extends CDebugElement
|
|||
}
|
||||
catch( CDIException e )
|
||||
{
|
||||
targetRequestFailed( e.toString(), null );
|
||||
targetRequestFailed( e.getMessage(), null );
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2003-04-07 Mikhail Khodjaiants
|
||||
Replaced 'toString()' by 'getMessage()' for CDI exceptions.
|
||||
* SetAutoSolibActionDelegate.java
|
||||
|
||||
2004-04-04 Alain Magloire
|
||||
|
||||
Code from Monta Vista to do a GDBServer launch.
|
||||
|
|
|
@ -260,7 +260,7 @@ public class SetAutoSolibActionDelegate implements IViewActionDelegate,
|
|||
throw new DebugException( new Status( IStatus.ERROR,
|
||||
MIPlugin.getUniqueIdentifier(),
|
||||
DebugException.TARGET_REQUEST_FAILED,
|
||||
e.toString(),
|
||||
e.getMessage(),
|
||||
null ) );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue