Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.resource
Class DeviceResourceException


java.lang.Object
  extended by 

java.lang.Throwable
      extended by 

java.lang.Exception
          extended by 

java.lang.RuntimeException
              extended by 
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

Constructor Summary
DeviceResourceException ( DeviceResourceDescriptor missingResource)
          Creates a DeviceResourceException indicating an error attempting to create a resource
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
 
Method Summary
  Throwable getCause ()
          Returns the cause of this throwable or null if the cause is nonexistent or unknown.
 
Methods inherited from class java.lang. Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire