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
public class NoLocalRepositoryManagerException extends RepositoryException
Thrown in case of an unsupported local repository type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoLocalRepositoryManagerException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalRepository
getRepository()
Gets 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 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 benull
.
-
NoLocalRepositoryManagerException
public NoLocalRepositoryManagerException(LocalRepository repository, 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 benull
.message
- The detail message, may benull
.
-
NoLocalRepositoryManagerException
public NoLocalRepositoryManagerException(LocalRepository repository, Throwable cause)
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 Detail
-
getRepository
public LocalRepository getRepository()
Gets the local repository whose content type is not supported.- Returns:
- The unsupported local repository or
null
if unknown.
-
-