1 package org.xmldb.api.base; 2 3 55 56 64 public final class XMLDBException extends RuntimeException 65 { 66 public int errorCode = ErrorCodes.UNKNOWN_ERROR; 67 public int vendorErrorCode = 0; 68 69 public XMLDBException () { 70 } 71 72 public XMLDBException (int errorCode) { 73 this(errorCode, 0, ""); 74 } 75 76 public XMLDBException (int errorCode, String message) { 77 this(errorCode, 0, message); 78 } 79 80 public XMLDBException (int errorCode, int vendorErrorCode) { 81 this(errorCode, vendorErrorCode, ""); 82 } 83 84 public XMLDBException (int errorCode, int vendorErrorCode, String message) { 85 super(message); 86 this.errorCode = errorCode; 87 this.vendorErrorCode = vendorErrorCode; 88 } 89 } 90 | Popular Tags |