diff options
author | Grant Gayed <ggayed> | 2011-01-12 19:50:20 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2011-01-12 19:50:20 +0000 |
commit | 1761843a9c19a7ae7292d52c4f6c51b7ff43f7d9 (patch) | |
tree | 950a1246f039a5ad1aa08b4eedb8c2c47be00ea5 /bundles/org.eclipse.swt/Eclipse SWT Browser | |
parent | 24ab3478e87ac1d36c28e1080e0b1351f8af27b9 (diff) | |
download | eclipse.platform.swt-1761843a9c19a7ae7292d52c4f6c51b7ff43f7d9.tar.gz eclipse.platform.swt-1761843a9c19a7ae7292d52c4f6c51b7ff43f7d9.tar.xz eclipse.platform.swt-1761843a9c19a7ae7292d52c4f6c51b7ff43f7d9.zip |
<Click here to enter a commit comment>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Browser')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/BrowserFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/BrowserFactory.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/BrowserFactory.java index eef6083b56..dae559f98a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/BrowserFactory.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/BrowserFactory.java @@ -17,7 +17,7 @@ class BrowserFactory { WebBrowser createWebBrowser (int style) { if (OS.IsWinCE && (style & (SWT.MOZILLA | SWT.WEBKIT)) != 0) { - throw new SWTError ("Unsupported Browser type"); //$NON-NLS-1$ + throw new SWTError (SWT.ERROR_NO_HANDLES, "Unsupported Browser type"); //$NON-NLS-1$ } if ((style & SWT.MOZILLA) != 0) { return new Mozilla (); |