1 package org.paneris.bibliomania; 2 3 public abstract class TroidFTILimitsException extends FTILimitsException { 4 5 public TroidFTILimitsException(int n, int limit) { 6 super(n, limit); 7 } 8 9 public String getMessage() { 10 return "Sorry, you are attempting to create a `" + getTable().getName() + 11 "' record with id = " + n + ", " + 12 "but the system can only handle a maximum of " + (limit - 1); 13 } 14 }