Package org.eclipse.aether.transfer
Class MetadataNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.aether.RepositoryException
org.eclipse.aether.transfer.MetadataTransferException
org.eclipse.aether.transfer.MetadataNotFoundException
- All Implemented Interfaces:
- Serializable
Thrown when metadata was not found in a particular repository.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionMetadataNotFoundException(Metadata metadata, LocalRepository repository) Creates a new exception with the specified metadata and local repository.MetadataNotFoundException(Metadata metadata, RemoteRepository repository) Creates a new exception with the specified metadata and repository.MetadataNotFoundException(Metadata metadata, RemoteRepository repository, String message) Creates a new exception with the specified metadata, repository and detail message.MetadataNotFoundException(Metadata metadata, RemoteRepository repository, String message, boolean fromCache) Creates a new exception with the specified metadata, repository and detail message.MetadataNotFoundException(Metadata metadata, RemoteRepository repository, String message, Throwable cause) Creates a new exception with the specified metadata, repository, detail message and cause.
- 
Method SummaryMethods inherited from class org.eclipse.aether.transfer.MetadataTransferExceptiongetMetadata, getRepository, isFromCacheMethods 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- 
MetadataNotFoundExceptionCreates a new exception with the specified metadata and local repository.- Parameters:
- metadata- The missing metadata, may be- null.
- repository- The involved local repository, may be- null.
 
- 
MetadataNotFoundExceptionCreates a new exception with the specified metadata and repository.- Parameters:
- metadata- The missing metadata, may be- null.
- repository- The involved remote repository, may be- null.
 
- 
MetadataNotFoundExceptionCreates a new exception with the specified metadata, repository and detail message.- Parameters:
- metadata- The missing metadata, may be- null.
- repository- The involved remote repository, may be- null.
- message- The detail message, may be- null.
 
- 
MetadataNotFoundExceptionpublic MetadataNotFoundException(Metadata metadata, RemoteRepository repository, String message, boolean fromCache) Creates a new exception with the specified metadata, repository and detail message.- Parameters:
- metadata- The missing metadata, may be- null.
- repository- The involved remote repository, may be- null.
- message- The detail message, may be- null.
- fromCache-- trueif the exception was played back from the error cache,- falseif the exception actually just occurred.
 
- 
MetadataNotFoundExceptionpublic MetadataNotFoundException(Metadata metadata, RemoteRepository repository, String message, Throwable cause) Creates a new exception with the specified metadata, repository, detail message and cause.- Parameters:
- metadata- The missing metadata, may be- null.
- repository- The involved remote repository, may be- null.
- message- The detail message, may be- null.
- cause- The exception that caused this one, may be- null.
 
 
-