public class FileAlreadyRepositoryException extends LocalRepoManagerException
LocalRepoManager
could not be created for a given File
, because the file
is already a repository and the LocalRepoManager
was instructed to create a new repository
from a simple file.
Note, that this exception is thrown for simple files or directories inside a repository, too.
Constructor and Description |
---|
FileAlreadyRepositoryException(File file) |
FileAlreadyRepositoryException(File file,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
File |
getFile() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FileAlreadyRepositoryException(File file)
public FileAlreadyRepositoryException(File file, Throwable cause)
Copyright © 2013-2014. All Rights Reserved.