com.alachisoft.ncache.client.internal.caching.ActivityBlockedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ncache-professional-client Show documentation
Show all versions of ncache-professional-client Show documentation
NCache Professional client for java.
/*
* 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;
}
}