Package org.eclipse.aether
Class RepositoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.aether.RepositoryException
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 ArtifactDescriptorException,ArtifactResolutionException,ArtifactTransferException,ChecksumFailureException,DependencyCollectionException,DependencyResolutionException,DeploymentException,InstallationException,InvalidVersionSpecificationException,MetadataTransferException,NoLocalRepositoryManagerException,NoRepositoryConnectorException,NoRepositoryLayoutException,NoTransporterException,RepositoryOfflineException,TransferCancelledException,UnsolvableVersionConflictException,VersionRangeResolutionException,VersionResolutionException
The base class for exceptions thrown by the repository system. Note: Unless otherwise noted, instances of
 this class and its subclasses will not persist fields carrying extended error information during serialization.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionRepositoryException(String message) Creates a new exception with the specified detail message.RepositoryException(String message, Throwable cause) Creates a new exception with the specified detail message and cause. - 
Method Summary
Modifier and TypeMethodDescriptionprotected static StringgetMessage(String prefix, Throwable cause) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
RepositoryException
Creates a new exception with the specified detail message.- Parameters:
 message- The detail message, may benull.
 - 
RepositoryException
Creates a new exception with the specified detail message and cause.- Parameters:
 message- The detail message, may benull.cause- The exception that caused this one, may benull.
 
 - 
 - 
Method Details
- 
getMessage
- Parameters:
 prefix- The prefix.cause- The exception that caused this one, may benull.- Returns:
 - The message.
 - Restriction:
 - This method is not intended to be used by clients.
 
 
 -