public class NoTransporterException extends RepositoryException
Modifier and Type | Field and Description |
---|---|
private RemoteRepository |
repository |
Constructor and Description |
---|
NoTransporterException(RemoteRepository repository)
Creates a new exception with the specified repository.
|
NoTransporterException(RemoteRepository repository,
java.lang.String message)
Creates a new exception with the specified repository and detail message.
|
NoTransporterException(RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified repository, detail message and cause.
|
NoTransporterException(RemoteRepository repository,
java.lang.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 transport protocol is not supported.
|
private static java.lang.String |
toMessage(RemoteRepository repository) |
getMessage
private final transient RemoteRepository repository
public NoTransporterException(RemoteRepository repository)
repository
- The remote repository whose transport layout is not supported, may be null
.public NoTransporterException(RemoteRepository repository, java.lang.String message)
repository
- The remote repository whose transport layout is not supported, may be null
.message
- The detail message, may be null
.public NoTransporterException(RemoteRepository repository, java.lang.Throwable cause)
repository
- The remote repository whose transport layout is not supported, may be null
.cause
- The exception that caused this one, may be null
.public NoTransporterException(RemoteRepository repository, java.lang.String message, java.lang.Throwable cause)
repository
- The remote repository whose transport layout is not supported, may be null
.message
- The detail message, may be null
.cause
- The exception that caused this one, may be null
.private static java.lang.String toMessage(RemoteRepository repository)
public RemoteRepository getRepository()
null
if unknown.