[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-swt-dev] Improve Error messages from SWT
|
Hi,
Just because I looked at a JFace-Bug-Report today I noticed that the
error message given from SWT could be improved e.g. take this bug report
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=186325). The SWT-Error
given doesn't tell anything about the cause of the problem. I think the
problem is a disposed font but if the error message would have been:
------------8<------------
java.lang.IllegalArgumentException: Argument not valid (Font passed is
disposed)
...
------------8<------------
This would make spotting the culprit much easier. My question is now do
you think it is worth the effort and I should log a bug and provide
better error messages using SWT.error(SWT.ERROR_INVALID_ARGUMENT,null, "
(Font passed is disposed)").
Thanks
Tom
--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl leiter softwareentwicklung/CSE mobile ++43 676 3232147
------------------------------------------------------------------------
eduard-bodem-gasse 8/3 A-6020 innsbruck fax ++43 512 935833
http://www.bestsolution.at phone ++43 512 935834
Attachment:
signature.asc
Description: OpenPGP digital signature