1 19 20 package org.openide.loaders; 21 22 28 public class DataObjectExistsException extends java.io.IOException { 29 30 static final long serialVersionUID = 4719319528535266801L; 31 32 private DataObject obj; 33 34 37 public DataObjectExistsException (DataObject obj) { 38 this.obj = obj; 39 } 40 41 44 public DataObject getDataObject () { 45 DataObjectPool.getPOOL().waitNotified (obj); 50 51 return obj; 53 } 54 55 56 public Throwable fillInStackTrace() { 57 return this; 58 } 59 } 60 | Popular Tags |