public class NoRepositoryLayoutException extends RepositoryException
Constructor and Description |
---|
NoRepositoryLayoutException(RemoteRepository repository)
Creates a new exception with the specified repository.
|
NoRepositoryLayoutException(RemoteRepository repository,
String message)
Creates a new exception with the specified repository and detail message.
|
NoRepositoryLayoutException(RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified repository, detail message and cause.
|
NoRepositoryLayoutException(RemoteRepository repository,
Throwable cause)
Creates a new exception with the specified repository and cause.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
getRepository()
Gets the remote repository whose layout is not supported.
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoRepositoryLayoutException(RemoteRepository repository)
repository
- The remote repository whose layout is not supported, may be null
.public NoRepositoryLayoutException(RemoteRepository repository, String message)
repository
- The remote repository whose layout is not supported, may be null
.message
- The detail message, may be null
.public NoRepositoryLayoutException(RemoteRepository repository, Throwable cause)
repository
- The remote repository whose layout is not supported, may be null
.cause
- The exception that caused this one, may be null
.public NoRepositoryLayoutException(RemoteRepository repository, String message, Throwable cause)
repository
- The remote repository whose layout is not supported, may be null
.message
- The detail message, may be null
.cause
- The exception that caused this one, may be null
.public RemoteRepository getRepository()
null
if unknown.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.