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

com.devonfw.cobigen.impl.exceptions.HttpConnectionException Maven / Gradle / Ivy

There is a newer version: 2021.12.006
Show newest version
package com.devonfw.cobigen.impl.exceptions;

/**
 * Thrown when an HTTP request returns an unexpected code
 */
public class HttpConnectionException extends Exception {

  /**
   * Default serial version UID.
   */
  private static final long serialVersionUID = 1L;

  /**
   * Creates a new {@link HttpConnectionException} with the given message.
   *
   * @param message informative message describing the exception or where it has been occurred
   */
  public HttpConnectionException(String message) {

    super(message);
  }

  /**
   * Creates a new {@link HttpConnectionException} with the given message and cause.
   *
   * @param message informative message describing the exception or where it has been occurred
   * @param cause originating this exception
   */
  public HttpConnectionException(String message, Throwable cause) {

    super(message, cause);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy