站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

DataObjectNotFoundException (NetBeans Loaders API) - NetBeans API Javadoc 4.1.0

 

org.openide.loaders
Class DataObjectNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byorg.openide.loaders.DataObjectNotFoundException
All Implemented Interfaces:
Serializable

public class DataObjectNotFoundException
extends IOException

Exception signalling that the data object for a given file object could not be found in DataObject.find(org.openide.filesystems.FileObject).

See Also:
Serialized Form

Constructor Summary
DataObjectNotFoundException(FileObject obj)
          Create a new exception.
 
Method Summary
 FileObject getFileObject()
          Get the file which does not have a data object.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

DataObjectNotFoundException

public DataObjectNotFoundException(FileObject obj)
Create a new exception.

Parameters:
obj - the file that does not have a data object
Method Detail

getFileObject

public FileObject getFileObject()
Get the file which does not have a data object.

Returns:
the file

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.