home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2003 March / DPPCPRO0303.ISO / Components / Microsoft ASP / _SETUP.1 / ASPWizard.jar / asp / netobjects / nfx / util / ExternalError.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-11-20  |  1.3 KB  |  45 lines

  1. package asp.netobjects.nfx.util;
  2.  
  3. public class ExternalError extends Exception {
  4.    private int dmTitleCode;
  5.    private int dmErrorCode;
  6.    private String dmTitle = "";
  7.    private String dmError = "";
  8.  
  9.    public ExternalError() {
  10.    }
  11.  
  12.    public ExternalError(int title, int error) {
  13.       this.dmTitleCode = title;
  14.       this.dmErrorCode = error;
  15.    }
  16.  
  17.    public ExternalError(String title, String error) {
  18.       super(error);
  19.       this.dmTitle = title;
  20.       this.dmError = error;
  21.    }
  22.  
  23.    public ExternalError(String error) {
  24.       super(error);
  25.       this.dmTitle = "Error";
  26.       this.dmError = error;
  27.    }
  28.  
  29.    public int getTitleCode() {
  30.       return this.dmTitleCode;
  31.    }
  32.  
  33.    public int getErrorCode() {
  34.       return this.dmErrorCode;
  35.    }
  36.  
  37.    public String getTitle() {
  38.       return this.dmTitle;
  39.    }
  40.  
  41.    public String getError() {
  42.       return this.dmError;
  43.    }
  44. }
  45.