

---

JavaScript is disabled on your browser.

---

   
Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

---

Summary:

Nested
Field
Constr
Method

---

Detail:

Field
Constr
Method

---

Summary: 
Nested | 
Field | 
Constr | 
Method

---

Detail: 
Field | 
Constr | 
Method

---

SEARCH

---

Package org.eclipse.aether.transfer
Class NoTransporterException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.aether.RepositoryException
org.eclipse.aether.transfer.NoTransporterException

---

All Implemented Interfaces:
Serializable

---

public class NoTransporterException
extends RepositoryException
Thrown in case of an unsupported transport protocol.

See Also:

---

Serialized Form

---

Constructor Summary
Constructors

Constructor
Description
NoTransporterException(RemoteRepository repository)

Creates a new exception with the specified repository.

NoTransporterException(RemoteRepository repository,
 String message)

Creates a new exception with the specified repository and detail message.

NoTransporterException(RemoteRepository repository,
 String message,
 Throwable cause)

Creates a new exception with the specified repository, detail message and cause.

NoTransporterException(RemoteRepository repository,
 Throwable cause)

Creates a new exception with the specified repository and cause.

---

Method Summary

All MethodsInstance MethodsConcrete Methods

---

Modifier and Type
Method
Description
RemoteRepository
getRepository()

Gets the remote repository whose transport protocol is not supported.

---

Methods inherited from class org.eclipse.aether.RepositoryException
getMessage

Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

---

Constructor Details

---

NoTransporterException
public NoTransporterException(RemoteRepository repository)
Creates a new exception with the specified repository.

Parameters:
repository - The remote repository whose transport layout is not supported, may be null.

---

NoTransporterException
public NoTransporterException(RemoteRepository repository,
 String message)
Creates a new exception with the specified repository and detail message.

Parameters:
repository - The remote repository whose transport layout is not supported, may be null.
message - The detail message, may be null.

---

NoTransporterException
public NoTransporterException(RemoteRepository repository,
 Throwable cause)
Creates a new exception with the specified repository and cause.

Parameters:
repository - The remote repository whose transport layout is not supported, may be null.
cause - The exception that caused this one, may be null.

---

NoTransporterException
public NoTransporterException(RemoteRepository repository,
 String message,
 Throwable cause)
Creates a new exception with the specified repository, detail message and cause.

Parameters:
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.

---

Method Details

---

getRepository
public RemoteRepository getRepository()
Gets the remote repository whose transport protocol is not supported.

Returns:
The unsupported remote repository or null if unknown.

---

Copyright © 2010–2024 The Apache Software Foundation. All rights reserved.

---

