Package org.eclipse.aether
Class RepositoryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.aether.RepositoryException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ArtifactDescriptorException,ArtifactResolutionException,ArtifactTransferException,ChecksumFailureException,DependencyCollectionException,DependencyResolutionException,DeploymentException,InstallationException,InvalidVersionSpecificationException,MetadataTransferException,NoLocalRepositoryManagerException,NoRepositoryConnectorException,NoRepositoryLayoutException,NoTransporterException,RepositoryOfflineException,TransferCancelledException,UnsolvableVersionConflictException,VersionRangeResolutionException,VersionResolutionException
public class RepositoryException extends java.lang.ExceptionThe 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryException(java.lang.String message)Creates a new exception with the specified detail message.RepositoryException(java.lang.String message, java.lang.Throwable cause)Creates a new exception with the specified detail message and cause.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static java.lang.StringgetMessage(java.lang.String prefix, java.lang.Throwable cause)
-
-
-
Constructor Detail
-
RepositoryException
public RepositoryException(java.lang.String message)
Creates a new exception with the specified detail message.- Parameters:
message- The detail message, may benull.
-
RepositoryException
public RepositoryException(java.lang.String message, java.lang.Throwable cause)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.
-
-