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 SummaryConstructorsConstructorDescriptionNoLocalRepositoryManagerException(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 SummaryModifier and TypeMethodDescriptionGets the local repository whose content type is not supported.Methods inherited from class org.eclipse.aether.RepositoryExceptiongetMessageMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
NoLocalRepositoryManagerExceptionCreates a new exception with the specified repository.- Parameters:
- repository- The local repository for which no support is available, may be- null.
 
- 
NoLocalRepositoryManagerExceptionCreates 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.
 
- 
NoLocalRepositoryManagerExceptionCreates 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.
 
- 
NoLocalRepositoryManagerExceptionpublic 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 be- null.
- message- The detail message, may be- null.
- cause- The exception that caused this one, may be- null.
 
 
- 
- 
Method Details- 
getRepositoryGets the local repository whose content type is not supported.- Returns:
- The unsupported local repository or nullif unknown.
 
 
-