mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 15:25:49 +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,
|
throw new DebugException( new Status( IStatus.ERROR,
|
||||||
getPluginIdentifier(),
|
getPluginIdentifier(),
|
||||||
DebugException.TARGET_REQUEST_FAILED,
|
DebugException.TARGET_REQUEST_FAILED,
|
||||||
"Create expression failed.",
|
e.getMessage(),
|
||||||
e ) );
|
null ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -96,7 +96,7 @@ public class AddExpressionActionDelegate extends AbstractEditorActionDelegate
|
||||||
}
|
}
|
||||||
catch( DebugException e )
|
catch( DebugException e )
|
||||||
{
|
{
|
||||||
CDebugUIPlugin.errorDialog( e.getMessage(), e );
|
CDebugUIPlugin.errorDialog( "Evaluation of expression failed.", e );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Add table
Reference in a new issue