comparison dwt/DWTException.d @ 45:d8635bb48c7c

Merge with SWT 3.5
author Jacob Carlborg <doob@me.com>
date Mon, 01 Dec 2008 17:07:00 +0100
parents db5a898b2119
children
comparison
equal deleted inserted replaced
44:ca5e494f2bbf 45:d8635bb48c7c
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2000, 2005 IBM Corporation and others. 2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
27 * provide a further description of the problem. The exception 27 * provide a further description of the problem. The exception
28 * has a <code>throwable</code> field which holds the underlying 28 * has a <code>throwable</code> field which holds the underlying
29 * exception that caused the problem (if this information is 29 * exception that caused the problem (if this information is
30 * available (i.e. it may be null)). 30 * available (i.e. it may be null)).
31 * <p> 31 * <p>
32 * SWTExceptions are thrown when something fails internally, 32 * DWTExceptions are thrown when something fails internally,
33 * but DWT is left in a known stable state (eg. a widget call 33 * but DWT is left in a known stable state (eg. a widget call
34 * was made from a non-u/i thread, or there is failure while 34 * was made from a non-u/i thread, or there is failure while
35 * reading an Image because the source file was corrupt). 35 * reading an Image because the source file was corrupt).
36 * </p> 36 * </p>
37 * 37 *
38 * @see DWTError 38 * @see DWTError
39 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
39 */ 40 */
40 41
41 public class DWTException : RuntimeException { 42 public class DWTException : RuntimeException {
42 /** 43 /**
43 * The DWT error code, one of DWT.ERROR_*. 44 * The DWT error code, one of DWT.ERROR_*.