public class RepositoryOfflineException extends RepositoryException
| Constructor | Description |
|---|---|
RepositoryOfflineException(RemoteRepository repository) |
Creates a new exception with the specified repository.
|
RepositoryOfflineException(RemoteRepository repository,
java.lang.String message) |
Creates a new exception with the specified repository and detail message.
|
| Modifier and Type | Method | Description |
|---|---|---|
RemoteRepository |
getRepository() |
Gets the remote repository that could not be accessed due to offline mode.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessagepublic RepositoryOfflineException(RemoteRepository repository)
repository - The inaccessible remote repository, may be null.public RepositoryOfflineException(RemoteRepository repository, java.lang.String message)
repository - The inaccessible remote repository, may be null.message - The detail message, may be null.public RemoteRepository getRepository()
null if unknown.