/** * Creates a new exception with the specified repository. * * @param repository The inaccessible remote repository, may be {@code null}. */ public RepositoryOfflineException( RemoteRepository repository ) { super( getMessage( repository ) ); this.repository = repository; }
/** * Creates a new exception with the specified repository. * * @param repository The inaccessible remote repository, may be {@code null}. */ public RepositoryOfflineException( RemoteRepository repository ) { super( getMessage( repository ) ); this.repository = repository; }