We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f5fd2 commit 01ddea2Copy full SHA for 01ddea2
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
@@ -1453,7 +1453,7 @@ private void init(ImageData image, int zoom) {
1453
public long internal_new_GC (GCData data) {
1454
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
1455
if (type != SWT.BITMAP) {
1456
- SWT.error(SWT.ERROR_INVALID_ARGUMENT);
+ SWT.error(SWT.ERROR_INVALID_ARGUMENT, null, "The type is " + type);
1457
}
1458
1459
if(memGC != null) {
0 commit comments