com.atlassian.bamboo.repository
Class InvalidRepositoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.atlassian.bamboo.repository.RepositoryException
              extended by com.atlassian.bamboo.repository.InvalidRepositoryException
All Implemented Interfaces:
java.io.Serializable

public class InvalidRepositoryException
extends RepositoryException

An exception when the repository is invalid and should be handled

Since:
v4.0
See Also:
Serialized Form

Constructor Summary
InvalidRepositoryException(java.lang.String message)
           
InvalidRepositoryException(java.lang.String message, java.lang.String stdout, java.lang.String stderr)
           
InvalidRepositoryException(java.lang.String message, java.lang.Throwable cause)
           
InvalidRepositoryException(java.lang.String message, java.lang.Throwable cause, java.lang.String stdout, java.lang.String stderr)
           
 
Method Summary
static boolean handleInvalidRepositoryIfAppropriate(PlanKey planKey, java.lang.Throwable e, ErrorCollection errorCollection, com.atlassian.event.api.EventPublisher eventPublisher, ErrorHandler errorHandler)
          Returns if the InvalidRepositoryException was handled (if the passed exception or the cause of it is of the right type.
 
Methods inherited from class com.atlassian.bamboo.repository.RepositoryException
getStderr, getStdout
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidRepositoryException

public InvalidRepositoryException(java.lang.String message)

InvalidRepositoryException

public InvalidRepositoryException(java.lang.String message,
                                  java.lang.Throwable cause)

InvalidRepositoryException

public InvalidRepositoryException(java.lang.String message,
                                  java.lang.Throwable cause,
                                  java.lang.String stdout,
                                  java.lang.String stderr)

InvalidRepositoryException

public InvalidRepositoryException(java.lang.String message,
                                  java.lang.String stdout,
                                  java.lang.String stderr)
Method Detail

handleInvalidRepositoryIfAppropriate

public static boolean handleInvalidRepositoryIfAppropriate(@Nullable
                                                           PlanKey planKey,
                                                           java.lang.Throwable e,
                                                           ErrorCollection errorCollection,
                                                           com.atlassian.event.api.EventPublisher eventPublisher,
                                                           @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:


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.