Class NoTransporterException

All Implemented Interfaces:
Serializable

public class NoTransporterException extends RepositoryException
Thrown in case of an unsupported transport protocol.
See Also:
  • Field Details

  • 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

    • toMessage

      private static String toMessage(RemoteRepository repository)
    • getRepository

      public RemoteRepository getRepository()
      Gets the remote repository whose transport protocol is not supported.
      Returns:
      The unsupported remote repository or null if unknown.