You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ConfigInvalidException.java 1001B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (C) 2009, 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. /**
  12. * Indicates a text string is not a valid Git style configuration.
  13. */
  14. public class ConfigInvalidException extends Exception {
  15. private static final long serialVersionUID = 1L;
  16. /**
  17. * Construct an invalid configuration error.
  18. *
  19. * @param message
  20. * why the configuration is invalid.
  21. */
  22. public ConfigInvalidException(String message) {
  23. super(message);
  24. }
  25. /**
  26. * Construct an invalid configuration error.
  27. *
  28. * @param message
  29. * why the configuration is invalid.
  30. * @param cause
  31. * root cause of the error.
  32. */
  33. public ConfigInvalidException(String message, Throwable cause) {
  34. super(message, cause);
  35. }
  36. }