public class InvalidRepositoryException extends Exception
Constructor and Description |
---|
InvalidRepositoryException(String message,
org.apache.maven.api.model.Repository repository)
Creates a new exception with specified detail message for the given repository.
|
InvalidRepositoryException(String message,
org.apache.maven.api.model.Repository repository,
Throwable cause)
Creates a new exception with specified detail message and cause for the given repository.
|
Modifier and Type | Method and Description |
---|---|
org.apache.maven.api.model.Repository |
getRepository()
Gets the repository that causes this error (if any).
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRepositoryException(String message, org.apache.maven.api.model.Repository repository, Throwable cause)
message
- The detail message, may be null
.repository
- The repository that caused the error, may be null
.cause
- The cause, may be null
.public InvalidRepositoryException(String message, org.apache.maven.api.model.Repository repository)
message
- The detail message, may be null
.repository
- The repository that caused the error, may be null
.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.