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

com.pushtechnology.diffusion.client.session.PermissionsException Maven / Gradle / Ivy

There is a newer version: 6.11.2
Show newest version
/*******************************************************************************
 * Copyright (c) 2023 DiffusionData Ltd., All Rights Reserved.
 *
 * Use is subject to license terms.
 *
 * NOTICE: All information contained herein is, and remains the
 * property of Push Technology. The intellectual and technical
 * concepts contained herein are proprietary to Push Technology and
 * may be covered by U.S. and Foreign Patents, patents in process, and
 * are protected by trade secret or copyright law.
 *******************************************************************************/
package com.pushtechnology.diffusion.client.session;

/**
 * The session operation failed due to a permissions failure. Repeating
 * the operation with the same permissions is likely to fail.
 *
 * @author DiffusionData Limited
 * @since 6.8
 */
public class PermissionsException extends SessionSecurityException {

    private static final long serialVersionUID = -9093928610820121093L;

    /**
     * Constructor.
     */
    public PermissionsException() {
        this(
            "The session operation failed due to a violated permissions constraint");
    }

    /**
     * @see SessionSecurityException#SessionSecurityException(String)
     *
     * @param description the exception message
     */
    public PermissionsException(String description) {
        super(description);
    }

    /**
     * @see SessionSecurityException#SessionSecurityException(String, Throwable)
     *
     * @param description the exception message
     * @param cause of the exception
     */
    public PermissionsException(String description, Throwable cause) {
        super(description, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy