選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

RemoteRepositoryException.java 1.2KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (C) 2010, Google Inc. and others
  3. *
  4. * This program and the accompanying materials are made available under the
  5. * terms of the Eclipse Distribution License v. 1.0 which is available at
  6. * https://www.eclipse.org/org/documents/edl-v10.php.
  7. *
  8. * SPDX-License-Identifier: BSD-3-Clause
  9. */
  10. package org.eclipse.jgit.errors;
  11. import org.eclipse.jgit.transport.URIish;
  12. /**
  13. * Contains a message from the remote repository indicating a problem.
  14. * <p>
  15. * Some remote repositories may send customized error messages describing why
  16. * they cannot be accessed. These messages are wrapped up in this exception and
  17. * thrown to the caller of the transport operation.
  18. */
  19. public class RemoteRepositoryException extends TransportException {
  20. private static final long serialVersionUID = 1L;
  21. /**
  22. * Constructs a RemoteRepositoryException for a message.
  23. *
  24. * @param uri
  25. * URI used for transport
  26. * @param message
  27. * message, exactly as supplied by the remote repository. May
  28. * contain LFs (newlines) if the remote formatted it that way.
  29. */
  30. public RemoteRepositoryException(URIish uri, String message) {
  31. super(uri, message);
  32. }
  33. }