1 package org.jgroups.persistence; 2 3 9 10 public class CannotRetrieveException extends Exception  11 { 12 13 17 public CannotRetrieveException(Throwable t, String reason) 18 { 19 this.t = t; 20 this.reason = reason; 21 } 22 23 26 public String toString() 27 { 28 String tmp = "Exception " + t.toString() + " was thrown due to " + reason; 29 return tmp; 30 } 31 32 36 private Throwable t = null; 37 private String reason = null; 38 } 39 | Popular Tags |