Class NoRepositoryLayoutException

  • All Implemented Interfaces:
    java.io.Serializable

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

      • NoRepositoryLayoutException

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

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

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

        public NoRepositoryLayoutException​(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 layout 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 layout is not supported.
        Returns:
        The unsupported remote repository or null if unknown.