com.gemstone.org.jgroups.persistence.CannotRemoveException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gemfire-jgroups Show documentation
Show all versions of gemfire-jgroups Show documentation
SnappyData store based off Pivotal GemFireXD
/** Notice of modification as required by the LGPL
* This file was modified by Gemstone Systems Inc. on
* $Date$
**/
package com.gemstone.org.jgroups.persistence;
/**
* @author Mandar Shinde
* This exception inherits the Exception class and is used in
* cases where the Persistence Storage cannot remove a pair
* from its storage mechanism (leading to permannt errors)
*/
public class CannotRemoveException extends Exception
{
private static final long serialVersionUID = -11649062965054429L;
/**
* @param t
* @param reason implementor-specified runtime reason
*/
public CannotRemoveException(Throwable t, String reason)
{
this.t = t;
this.reason = reason;
}
/**
* @return String;
*/
@Override // GemStoneAddition
public String toString()
{
String tmp = "Exception " + t.toString() + " was thrown due to " + reason;
return tmp;
}
/**
* members are made available so that the top level user can dump
* appropriate members on to his stack trace
*/
public Throwable t = null;
public String reason = null;
}