UploadPackInternalServerErrorException.java

  1. /*
  2.  * Copyright (C) 2011, Google Inc. and others
  3.  *
  4.  * This program and the accompanying materials are made available under the
  5.  * terms of the Eclipse Distribution License v. 1.0 which is available at
  6.  * https://www.eclipse.org/org/documents/edl-v10.php.
  7.  *
  8.  * SPDX-License-Identifier: BSD-3-Clause
  9.  */

  10. package org.eclipse.jgit.transport;

  11. import java.io.IOException;

  12. /**
  13.  * UploadPack has already reported an error to the client.
  14.  */
  15. public class UploadPackInternalServerErrorException extends IOException {
  16.     private static final long serialVersionUID = 1L;

  17.     /**
  18.      * Initialize a new exception.
  19.      *
  20.      * @param why
  21.      *            root cause.
  22.      */
  23.     public UploadPackInternalServerErrorException(Throwable why) {
  24.         initCause(why);
  25.     }
  26. }