public class RepositoryOfflineException extends RepositoryException
| Constructor and 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 and Description |
|---|---|
RemoteRepository |
getRepository()
Gets the remote repository that could not be accessed due to offline mode.
|
getMessagepublic 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.