Class InvalidRepositoryException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidStashRepositoryException

public class InvalidRepositoryException extends RepositoryException
An exception when the repository is invalid and should be handled
Since:
v4.0
See Also:
  • Constructor Details

    • InvalidRepositoryException

      public InvalidRepositoryException(String message)
    • InvalidRepositoryException

      public InvalidRepositoryException(String message, Throwable cause)
    • InvalidRepositoryException

      public InvalidRepositoryException(String message, Throwable cause, String stdout, String stderr)
    • InvalidRepositoryException

      public InvalidRepositoryException(String message, String stdout, String stderr)
    • InvalidRepositoryException

      public InvalidRepositoryException(String message, Throwable cause, String stdout, String stderr, long repositoryId)
  • Method Details

    • handleInvalidRepositoryIfAppropriate

      public static boolean handleInvalidRepositoryIfAppropriate(@Nullable @Nullable PlanKey planKey, Throwable e, ErrorCollection errorCollection, com.atlassian.event.api.EventPublisher eventPublisher, @Nullable @Nullable ErrorHandler errorHandler)
      Returns if the InvalidRepositoryException was handled (if the passed exception or the cause of it is of the right type.
      Parameters:
      planKey -
      e -
      errorCollection -
      eventPublisher -
      errorHandler -
      Returns: