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