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:
parent
c8235eee79
commit
78ede54448
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -96,7 +96,7 @@ public class AddExpressionActionDelegate extends AbstractEditorActionDelegate
|
|||
}
|
||||
catch( DebugException e )
|
||||
{
|
||||
CDebugUIPlugin.errorDialog( e.getMessage(), e );
|
||||
CDebugUIPlugin.errorDialog( "Evaluation of expression failed.", e );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
|
Loading…
Add table
Reference in a new issue