Package org.eclipse.aether.repository
Class NoLocalRepositoryManagerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.aether.RepositoryException
org.eclipse.aether.repository.NoLocalRepositoryManagerException
- All Implemented Interfaces:
Serializable
Thrown in case of an unsupported local repository type.
- See Also:
-
Constructor Summary
ConstructorDescriptionNoLocalRepositoryManagerException
(LocalRepository repository) Creates a new exception with the specified repository.NoLocalRepositoryManagerException
(LocalRepository repository, String message) Creates a new exception with the specified repository and detail message.NoLocalRepositoryManagerException
(LocalRepository repository, String message, Throwable cause) Creates a new exception with the specified repository, detail message and cause.NoLocalRepositoryManagerException
(LocalRepository repository, Throwable cause) Creates a new exception with the specified repository and cause. -
Method Summary
Modifier and TypeMethodDescriptionGets the local repository whose content type is not supported.Methods inherited from class org.eclipse.aether.RepositoryException
getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoLocalRepositoryManagerException
Creates a new exception with the specified repository.- Parameters:
repository
- The local repository for which no support is available, may benull
.
-
NoLocalRepositoryManagerException
Creates a new exception with the specified repository and detail message.- Parameters:
repository
- The local repository for which no support is available, may benull
.message
- The detail message, may benull
.
-
NoLocalRepositoryManagerException
Creates a new exception with the specified repository and cause.- Parameters:
repository
- The local repository for which no support is available, may benull
.cause
- The exception that caused this one, may benull
.
-
NoLocalRepositoryManagerException
public NoLocalRepositoryManagerException(LocalRepository repository, String message, 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 benull
.message
- The detail message, may benull
.cause
- The exception that caused this one, may benull
.
-
-
Method Details
-
getRepository
Gets the local repository whose content type is not supported.- Returns:
- The unsupported local repository or
null
if unknown.
-