public class NoLocalRepositoryManagerException extends RepositoryException
Modifier and Type | Field and Description |
---|---|
private LocalRepository |
repository |
Constructor and Description |
---|
NoLocalRepositoryManagerException(LocalRepository repository)
Creates a new exception with the specified repository.
|
NoLocalRepositoryManagerException(LocalRepository repository,
java.lang.String message)
Creates a new exception with the specified repository and detail message.
|
NoLocalRepositoryManagerException(LocalRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified repository, detail message and cause.
|
NoLocalRepositoryManagerException(LocalRepository repository,
java.lang.Throwable cause)
Creates a new exception with the specified repository and cause.
|
Modifier and Type | Method and Description |
---|---|
LocalRepository |
getRepository()
Gets the local repository whose content type is not supported.
|
private static java.lang.String |
toMessage(LocalRepository repository) |
getMessage
private final transient LocalRepository repository
public NoLocalRepositoryManagerException(LocalRepository repository)
repository
- The local repository for which no support is available, may be null
.public NoLocalRepositoryManagerException(LocalRepository repository, java.lang.String message)
repository
- The local repository for which no support is available, may be null
.message
- The detail message, may be null
.public NoLocalRepositoryManagerException(LocalRepository repository, java.lang.Throwable cause)
repository
- The local repository for which no support is available, may be null
.cause
- The exception that caused this one, may be null
.public NoLocalRepositoryManagerException(LocalRepository repository, java.lang.String message, java.lang.Throwable cause)
repository
- The local repository for which no support is available, may be null
.message
- The detail message, may be null
.cause
- The exception that caused this one, may be null
.private static java.lang.String toMessage(LocalRepository repository)
public LocalRepository getRepository()
null
if unknown.