org.openide.loaders
Class DataObjectExistsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--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
getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, 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


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.