public class InvalidRepositoryException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private Repository |
repository
The repository that raised this error, can be
null. |
| Constructor and Description |
|---|
InvalidRepositoryException(java.lang.String message,
Repository repository)
Creates a new exception with specified detail message for the given repository.
|
InvalidRepositoryException(java.lang.String message,
Repository repository,
java.lang.Throwable cause)
Creates a new exception with specified detail message and cause for the given repository.
|
| Modifier and Type | Method and Description |
|---|---|
Repository |
getRepository()
Gets the repository that causes this error (if any).
|
private Repository repository
null.public InvalidRepositoryException(java.lang.String message,
Repository repository,
java.lang.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(java.lang.String message,
Repository repository)
message - The detail message, may be null.repository - The repository that caused the error, may be null.public Repository getRepository()
null if not known.