Class NoRepositoryConnectorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoRepositoryConnectorException
    extends RepositoryException
    Thrown in case of an unsupported remote repository type.
    See Also:
    Serialized Form
    • Constructor Detail

      • NoRepositoryConnectorException

        public NoRepositoryConnectorException​(RemoteRepository repository)
        Creates a new exception with the specified repository.
        Parameters:
        repository - The remote repository whose content type is not supported, may be null.
      • NoRepositoryConnectorException

        public NoRepositoryConnectorException​(RemoteRepository repository,
                                              java.lang.String message)
        Creates a new exception with the specified repository and detail message.
        Parameters:
        repository - The remote repository whose content type is not supported, may be null.
        message - The detail message, may be null.
      • NoRepositoryConnectorException

        public NoRepositoryConnectorException​(RemoteRepository repository,
                                              java.lang.Throwable cause)
        Creates a new exception with the specified repository and cause.
        Parameters:
        repository - The remote repository whose content type is not supported, may be null.
        cause - The exception that caused this one, may be null.
      • NoRepositoryConnectorException

        public NoRepositoryConnectorException​(RemoteRepository repository,
                                              java.lang.String message,
                                              java.lang.Throwable cause)
        Creates a new exception with the specified repository, detail message and cause.
        Parameters:
        repository - The remote repository whose content type is not supported, may be null.
        message - The detail message, may be null.
        cause - The exception that caused this one, may be null.
    • Method Detail

      • toMessage

        private static java.lang.String toMessage​(RemoteRepository repository)
      • getRepository

        public RemoteRepository getRepository()
        Gets the remote repository whose content type is not supported.
        Returns:
        The unsupported remote repository or null if unknown.