Class NoLocalRepositoryManagerException

  • All Implemented Interfaces:
    java.io.Serializable

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

      • NoLocalRepositoryManagerException

        public NoLocalRepositoryManagerException​(LocalRepository repository)
        Creates a new exception with the specified repository.
        Parameters:
        repository - The local repository for which no support is available, may be null.
      • NoLocalRepositoryManagerException

        public NoLocalRepositoryManagerException​(LocalRepository repository,
                                                 java.lang.String message)
        Creates a new exception with the specified repository and detail message.
        Parameters:
        repository - The local repository for which no support is available, may be null.
        message - The detail message, may be null.
      • NoLocalRepositoryManagerException

        public NoLocalRepositoryManagerException​(LocalRepository repository,
                                                 java.lang.Throwable cause)
        Creates a new exception with the specified repository and cause.
        Parameters:
        repository - The local repository for which no support is available, may be null.
        cause - The exception that caused this one, may be null.
      • NoLocalRepositoryManagerException

        public NoLocalRepositoryManagerException​(LocalRepository repository,
                                                 java.lang.String message,
                                                 java.lang.Throwable cause)
        Creates a new exception with the specified repository, detail message and cause.
        Parameters:
        repository - The local repository for which no support is available, 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​(LocalRepository repository)
      • getRepository

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