All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.helger.peppol.smpclient.exception.SMPClientNotFoundException Maven / Gradle / Ivy

/**
 * Copyright (C) 2015-2019 Philip Helger (www.helger.com)
 * philip[at]helger[dot]com
 *
 * The Original Code is Copyright The PEPPOL project (http://www.peppol.eu)
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package com.helger.peppol.smpclient.exception;

import java.net.ConnectException;
import java.net.UnknownHostException;

import javax.annotation.Nonnull;

import org.apache.http.client.HttpResponseException;

/**
 * This exception is thrown, if the HTTP response was 404.
 *
 * @author PEPPOL.AT, BRZ, Philip Helger
 */
public class SMPClientNotFoundException extends SMPClientException
{
  public SMPClientNotFoundException (@Nonnull final HttpResponseException ex)
  {
    super (ex);
  }

  public SMPClientNotFoundException (@Nonnull final UnknownHostException ex)
  {
    super (ex);
  }

  public SMPClientNotFoundException (@Nonnull final ConnectException ex)
  {
    super (ex);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy