1 11 package org.eclipse.jface.resource; 12 13 14 19 public class DeviceResourceException extends RuntimeException { 20 21 private Throwable cause; 22 23 26 private static final long serialVersionUID = 11454598756198L; 27 28 35 public DeviceResourceException(DeviceResourceDescriptor missingResource, Throwable cause) { 36 super("Unable to create resource " + missingResource.toString()); this.cause = cause; 39 } 40 41 47 public DeviceResourceException(DeviceResourceDescriptor missingResource) { 48 this(missingResource, null); 49 } 50 51 58 public Throwable getCause() { 59 return cause; 60 } 61 62 } 63 | Popular Tags |