GitException.java

  1. package com.github.jonasrutishauser.maven.wagon.git.exception;

  2. /*
  3.  * Copyright (C) 2017 Jonas Rutishauser
  4.  *
  5.  * This program is free software: you can redistribute it and/or modify
  6.  * it under the terms of the GNU Lesser General Public License as published by
  7.  * the Free Software Foundation version 3 of the License.
  8.  *
  9.  * This program is distributed in the hope that it will be useful,
  10.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.  * GNU Lesser General Public License for more details.
  13.  *
  14.  * You should have received a copy of the GNU Lesser General Public License
  15.  * along with this program.
  16.  * If not, see <http://www.gnu.org/licenses/lgpl-3.0.txt>.
  17.  */

  18. public class GitException extends Exception {

  19.     private static final long serialVersionUID = 1L;

  20.     public GitException(String message) {
  21.         super(message);
  22.     }

  23.     public GitException(String message, Throwable cause) {
  24.         super(message, cause);
  25.     }

  26. }