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

DataObjectExistsException (NetBeans Loaders API) - NetBeans API Javadoc 4.1.0

 

org.openide.loaders
Class DataObjectExistsException

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

public class DataObjectExistsException
extends IOException

Exception signalling that the data object for this file cannot be created because there already is an object for the primary file.

See Also:
Serialized Form

Constructor Summary
DataObjectExistsException(DataObject obj)
          Create new exception.
 
Method Summary
 Throwable fillInStackTrace()
          Performance trick
 DataObject getDataObject()
          Get the object which already exists.
 
Methods inherited from class java.lang.Throwable
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

DataObjectExistsException

public DataObjectExistsException(DataObject obj)
Create new exception.

Parameters:
obj - data object which already exists
Method Detail

getDataObject

public DataObject getDataObject()
Get the object which already exists.

Returns:
the data object

fillInStackTrace

public Throwable fillInStackTrace()
Performance trick


 

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