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

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

There is a newer version: 6.11.0
Show newest version
/*******************************************************************************
 * Copyright (c) 2014, 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 is closed. No further operations are possible.
 *
 * @author DiffusionData Limited
 * @since 5.0
 */
public class SessionClosedException extends SessionException {

    private static final long serialVersionUID = -2658690087333766540L;

    /**
     * Constructor.
     */
    public SessionClosedException() {
        this("The session is closed. No further operations are possible");
    }

    /**
     * Constructor.
     */
    public SessionClosedException(String message) {
        super(message);
    }

    /**
     * @see SessionException#SessionException(Throwable)
     *
     * @param cause of the session closure, if any, may be null
     */
    public SessionClosedException(Throwable cause) {
        this("The session is closed. No further operations are possible",
            cause);
    }
    /**
     * @see SessionException#SessionException(String, Throwable)
     *
     * @param description of the exception
     *
     * @param cause of the session closure, if any, may be null
     */
    protected SessionClosedException(String description, Throwable cause) {
        super(description, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy