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

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

The newest version!
/*******************************************************************************
 * Copyright (c) 2022, 2023 DiffusionData Ltd., All Rights Reserved.
 *
 * Use is subject to licence terms.
 *
 * NOTICE: All information contained herein is, and remains the
 * property of DiffusionData. The intellectual and technical
 * concepts contained herein are proprietary to DiffusionData 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 an authentication failure. Repeating
 * the operation with the same authentication credentials is likely to fail.
 *
 * @author DiffusionData Limited
 * @since 6.8
 */
public class AuthenticationException extends SessionSecurityException {

    private static final long serialVersionUID = -8470523360759944449L;

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy