Package org.eclipse.aether.transfer
Class NoRepositoryConnectorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.aether.RepositoryException
-
- org.eclipse.aether.transfer.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 Summary
Constructors Constructor Description NoRepositoryConnectorException(RemoteRepository repository)
Creates a new exception with the specified repository.NoRepositoryConnectorException(RemoteRepository repository, java.lang.String message)
Creates a new exception with the specified repository and detail message.NoRepositoryConnectorException(RemoteRepository repository, java.lang.String message, java.lang.Throwable cause)
Creates a new exception with the specified repository, detail message and cause.NoRepositoryConnectorException(RemoteRepository repository, java.lang.Throwable cause)
Creates a new exception with the specified repository and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteRepository
getRepository()
Gets the remote repository whose content type is not supported.-
Methods inherited from class org.eclipse.aether.RepositoryException
getMessage
-
-
-
-
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 benull
.
-
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 benull
.message
- The detail message, may benull
.
-
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 benull
.cause
- The exception that caused this one, may benull
.
-
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 benull
.message
- The detail message, may benull
.cause
- The exception that caused this one, may benull
.
-
-
Method Detail
-
getRepository
public RemoteRepository getRepository()
Gets the remote repository whose content type is not supported.- Returns:
- The unsupported remote repository or
null
if unknown.
-
-