1
0
Fork 0
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:
Mikhail Khodjaiants 2003-04-07 22:42:15 +00:00
parent f9ce0bfae3
commit 23e42715f6
2 changed files with 6 additions and 2 deletions

View file

@ -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 2003-04-07 Mikhail Khodjaiants
Replaced 'toString()' by 'getMessage()' for CDI exceptions. Replaced 'toString()' by 'getMessage()' for CDI exceptions.
* CSharedLibraryManager.java * CSharedLibraryManager.java

View file

@ -214,7 +214,7 @@ public class CDebugElement extends PlatformObject
*/ */
public void targetRequestFailed( String message, CDIException e ) throws DebugException 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 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 );
} }
/** /**