Class InvalidRepositoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.model.resolution.InvalidRepositoryException
- All Implemented Interfaces:
Serializable
Deprecated.
Signals an error when adding a repository to the model resolver.
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidRepositoryException
(String message, Repository repository) Deprecated.Creates a new exception with specified detail message for the given repository.InvalidRepositoryException
(String message, Repository repository, Throwable cause) Deprecated.Creates a new exception with specified detail message and cause for the given repository. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the repository that causes this error (if any).Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidRepositoryException
Deprecated.Creates a new exception with specified detail message and cause for the given repository.- Parameters:
message
- The detail message, may benull
.repository
- The repository that caused the error, may benull
.cause
- The cause, may benull
.
-
InvalidRepositoryException
Deprecated.Creates a new exception with specified detail message for the given repository.- Parameters:
message
- The detail message, may benull
.repository
- The repository that caused the error, may benull
.
-
-
Method Details
-
getRepository
Deprecated.Gets the repository that causes this error (if any).- Returns:
- The repository that causes this error or
null
if not known.
-
ModelBuilder
instead