home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 139 / dpcs0999.iso / Web / CFserver / data1.cab / Java / allaire / util / template / FunctionCallException.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-04-12  |  713 b   |  20 lines

  1. package allaire.util.template;
  2.  
  3. public class FunctionCallException extends ExpressionException {
  4.    private static final int ERR_BASE = 150;
  5.    public static final int ERR_INVALID_ARG_TYPE = 150;
  6.    public static final int ERR_TOO_FEW_ARGS = 151;
  7.    public static final int ERR_TOO_MANY_ARGS = 152;
  8.    public static final int ERR_USER_BASE = 1000;
  9.  
  10.    static {
  11.       TemplateException.addError(150, "Invalid function argument type");
  12.       TemplateException.addError(151, "Too few arguments specified");
  13.       TemplateException.addError(152, "Too many arguments specified");
  14.    }
  15.  
  16.    public FunctionCallException(int var1, String var2) {
  17.       super(var1, var2);
  18.    }
  19. }
  20.