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

DataObjectExistsException (NetBeans Loaders API) - NetBeans API Javadoc 5.5.0

org.openide.loaders 5.9.22

org.openide.loaders
Class DataObjectExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.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

Overrides:
fillInStackTrace in class Throwable

org.openide.loaders 5.9.22

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