public class MetadataNotFoundException extends MetadataTransferException
Constructor and Description |
---|
MetadataNotFoundException(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.
|
getMetadata, getRepository, isFromCache
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MetadataNotFoundException(Metadata metadata, LocalRepository repository)
metadata
- The missing metadata, may be null
.repository
- The involved local repository, may be null
.public MetadataNotFoundException(Metadata metadata, RemoteRepository repository)
metadata
- The missing metadata, may be null
.repository
- The involved remote repository, may be null
.public MetadataNotFoundException(Metadata metadata, RemoteRepository repository, String message)
metadata
- The missing metadata, may be null
.repository
- The involved remote repository, may be null
.message
- The detail message, may be null
.public MetadataNotFoundException(Metadata metadata, RemoteRepository repository, String message, boolean fromCache)
metadata
- The missing metadata, may be null
.repository
- The involved remote repository, may be null
.message
- The detail message, may be null
.fromCache
- true
if the exception was played back from the error cache, false
if the
exception actually just occurred.public MetadataNotFoundException(Metadata metadata, RemoteRepository repository, String message, Throwable cause)
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
.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.