Package ghidra.framework.store.local

# Class DataDirectoryException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
ghidra.framework.store.local.DataDirectoryException

All Implemented Interfaces:
  `Serializable`

public class DataDirectoryException extends IOException
`DataDirectoryException` is thrown when a folder item can not be created because its associated data directory already exists.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataDirectoryException(String msg, File dir)`
  Constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `File`
  `getDataDirectory()`
  Returns existing data directory

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DataDirectoryException

    public DataDirectoryException(String msg, File dir)
    Constructor.
    Parameters:
      `msg` - error message
      `dir` - existing data directory

- ## Method Details

  - ### getDataDirectory

    public File getDataDirectory()
    Returns existing data directory