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

com.alachisoft.ncache.client.internal.caching.ActivityBlockedException Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.alachisoft.ncache.client.internal.caching;

import Alachisoft.NCache.Common.Net.Address;
import com.alachisoft.ncache.runtime.exceptions.CacheException;

import java.io.Serializable;

public class ActivityBlockedException extends CacheException implements Serializable {
    private Address _serverip = null;

    /**
     * default constructor.
     */
    public ActivityBlockedException() {
    }

    /**
     * overloaded constructor, takes the reason as parameter.
     */
    public ActivityBlockedException(String reason) {
        super(reason);
    }

    /**
     * overloaded constructor, takes the reason as parameter.
     */
    public ActivityBlockedException(String reason, Address blockedServerIp) {
        super(reason);
        this._serverip = blockedServerIp;
    }

    /**
     * overloaded constructor.
     *
     * @param reason reason for exception
     * @param inner  nested exception
     */
    public ActivityBlockedException(String reason, RuntimeException inner) {
        super(reason, inner);
    }

    /**
     * overloaded constructor.
     *
     * @param reason reason for exception
     * @param inner  nested exception
     */
    public ActivityBlockedException(String reason, RuntimeException inner, Address blockedServerIp) {
        super(reason, inner);
        this._serverip = blockedServerIp;
    }

    public ActivityBlockedException(int requestTimeout, String getErrorMessage, Address blockServerAddress) {
    }

    /**
     * 
     */
    public final Address getBlockedServerIp() {
        return _serverip;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy