mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Changed the message generated in the 'targetRequestFailed' methods of CDebugElement.
This commit is contained in:
parent
f9ce0bfae3
commit
23e42715f6
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-04-07 Mikhail Khodjaiants
|
||||
Changed the message generated in the 'targetRequestFailed' methods of CDebugElement.
|
||||
* CDebugElement.java
|
||||
|
||||
2003-04-07 Mikhail Khodjaiants
|
||||
Replaced 'toString()' by 'getMessage()' for CDI exceptions.
|
||||
* CSharedLibraryManager.java
|
||||
|
|
|
@ -214,7 +214,7 @@ public class CDebugElement extends PlatformObject
|
|||
*/
|
||||
public void targetRequestFailed( String message, CDIException e ) throws DebugException
|
||||
{
|
||||
requestFailed( message, e, DebugException.TARGET_REQUEST_FAILED );
|
||||
requestFailed( "Target request failed: " + message, e, DebugException.TARGET_REQUEST_FAILED );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -239,7 +239,7 @@ public class CDebugElement extends PlatformObject
|
|||
*/
|
||||
public void targetRequestFailed( String message, Throwable e ) throws DebugException
|
||||
{
|
||||
throwDebugException( message, DebugException.TARGET_REQUEST_FAILED, e );
|
||||
throwDebugException( "Target request failed: " + message, DebugException.TARGET_REQUEST_FAILED, e );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue