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

org.kohsuke.github.GHEnterpriseManagedUsersException Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha-2
Show newest version
package org.kohsuke.github;

/**
 * Failure related to Enterprise Managed Users operations.
 *
 * @author Miguel Esteban Gutiérrez
 */
public class GHEnterpriseManagedUsersException extends GHIOException {

    /**
     * The serial version UID of the exception.
     */
    private static final long serialVersionUID = 1980051901L;

    /**
     * The error that caused the exception.
     */
    private final GHError error;

    /**
     * Instantiates a new exception.
     *
     * @param message
     *            the message
     * @param error
     *            the error that caused the exception
     * @param cause
     *            the cause
     */
    public GHEnterpriseManagedUsersException(final String message, final GHError error, final Throwable cause) {
        super(message, cause);
        this.error = error;
    }

    /**
     * Get the error that caused the exception.
     *
     * @return the error
     */
    public GHError getError() {
        return error;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy