home *** CD-ROM | disk | FTP | other *** search
- package asp.netobjects.nfx.util;
-
- public class ExternalError extends Exception {
- private int dmTitleCode;
- private int dmErrorCode;
- private String dmTitle = "";
- private String dmError = "";
-
- public ExternalError() {
- }
-
- public ExternalError(int title, int error) {
- this.dmTitleCode = title;
- this.dmErrorCode = error;
- }
-
- public ExternalError(String title, String error) {
- super(error);
- this.dmTitle = title;
- this.dmError = error;
- }
-
- public ExternalError(String error) {
- super(error);
- this.dmTitle = "Error";
- this.dmError = error;
- }
-
- public int getTitleCode() {
- return this.dmTitleCode;
- }
-
- public int getErrorCode() {
- return this.dmErrorCode;
- }
-
- public String getTitle() {
- return this.dmTitle;
- }
-
- public String getError() {
- return this.dmError;
- }
- }
-