mylyn-gitea/io.gitea.mylyn.core/src/io/gitea/mylyn/core/exceptions/GiteaException.java

29 lines
708 B
Java

// Copyright (c) 2021, Fr.Terrot. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package io.gitea.mylyn.core.exceptions;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.Status;
import io.gitea.mylyn.core.GiteaPluginCore;
/**
* Gitea Exception class
*/
public class GiteaException extends CoreException {
private static final long serialVersionUID = 7631319898671055531L;
/**
* Constructor
*
* @param message : Exception message
*/
public GiteaException(String message) {
super(new Status(Status.ERROR, GiteaPluginCore.ID_PLUGIN, message));
}
}