Package org.eclipse.aether.transfer
Class NoRepositoryLayoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.aether.RepositoryException
-
- org.eclipse.aether.transfer.NoRepositoryLayoutException
-
- All Implemented Interfaces:
Serializable
public class NoRepositoryLayoutException extends RepositoryException
Thrown in case of an unsupported repository layout.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteRepository
getRepository()
Gets the remote repository whose layout 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
-
-
-
-
Constructor Detail
-
NoRepositoryLayoutException
public NoRepositoryLayoutException(RemoteRepository repository)
Creates a new exception with the specified repository.- Parameters:
repository
- The remote repository whose layout is not supported, may benull
.
-
NoRepositoryLayoutException
public NoRepositoryLayoutException(RemoteRepository repository, String message)
Creates a new exception with the specified repository and detail message.- Parameters:
repository
- The remote repository whose layout is not supported, may benull
.message
- The detail message, may benull
.
-
NoRepositoryLayoutException
public NoRepositoryLayoutException(RemoteRepository repository, Throwable cause)
Creates a new exception with the specified repository and cause.- Parameters:
repository
- The remote repository whose layout is not supported, may benull
.cause
- The exception that caused this one, may benull
.
-
NoRepositoryLayoutException
public NoRepositoryLayoutException(RemoteRepository repository, String message, Throwable cause)
Creates a new exception with the specified repository, detail message and cause.- Parameters:
repository
- The remote repository whose layout is not supported, may benull
.message
- The detail message, may benull
.cause
- The exception that caused this one, may benull
.
-
-
Method Detail
-
getRepository
public RemoteRepository getRepository()
Gets the remote repository whose layout is not supported.- Returns:
- The unsupported remote repository or
null
if unknown.
-
-