|
 |
|
|
org.eclipse.jface.resource
Class DeviceResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jface.resource.DeviceResourceException
-
All Implemented Interfaces:
-
Serializable
-
public class DeviceResourceException
- extends
RuntimeException
Thrown when allocation of an SWT device resource fails
-
Since:
- 3.1
-
See Also:
-
Serialized Form
Method Summary
|
Throwable
|
getCause
()
Returns the cause of this throwable or null if the
cause is nonexistent or unknown. |
DeviceResourceException
public DeviceResourceException(
DeviceResourceDescriptor missingResource,
Throwable cause)
- Creates a DeviceResourceException indicating an error attempting to
create a resource and an embedded low-level exception describing the cause
-
Parameters:
-
missingResource - -
cause - cause of the exception (or null if none)
DeviceResourceException
public DeviceResourceException(
DeviceResourceDescriptor missingResource)
- Creates a DeviceResourceException indicating an error attempting to
create a resource
-
Parameters:
-
missingResource -
getCause
public
Throwable getCause()
- Returns the cause of this throwable or
null if the
cause is nonexistent or unknown.
-
-
Overrides:
-
getCause
in class
Throwable
-
-
Returns:
- the cause or
null
-
Since:
- 3.1
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|