1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00

Changed the error handling and the error messages.

This commit is contained in:
Mikhail Khodjaiants 2002-10-01 17:51:31 +00:00
parent c8235eee79
commit 78ede54448
2 changed files with 3 additions and 3 deletions

View file

@ -358,8 +358,8 @@ public class CDebugModel
throw new DebugException( new Status( IStatus.ERROR,
getPluginIdentifier(),
DebugException.TARGET_REQUEST_FAILED,
"Create expression failed.",
e ) );
e.getMessage(),
null ) );
}
}
return null;

View file

@ -96,7 +96,7 @@ public class AddExpressionActionDelegate extends AbstractEditorActionDelegate
}
catch( DebugException e )
{
CDebugUIPlugin.errorDialog( e.getMessage(), e );
CDebugUIPlugin.errorDialog( "Evaluation of expression failed.", e );
}
}
} );