View Javadoc

1   package org.paneris.bibliomania.fti;
2   
3   public class TextTooLongException extends FTIException {
4     /**
5      * 
6      */
7     private static final long serialVersionUID = 1L;
8     public int limit;
9   
10    public TextTooLongException(int limit) {
11      this.limit = limit;
12    }
13  
14    public String getMessage() {
15      return "The text was longer than the limit of " + limit + " --- " +
16             "contact the developers if this really needs to be raised";
17    }
18  }