1 5 package com.microstar.xml; 6 7 8 22 public class XmlException extends Exception 23 { 24 private String message; 25 private String systemId; 26 private int line; 27 private int column; 28 29 30 37 public XmlException (String message, String systemId, int line, int column) 38 { 39 this.message = message; 40 this.systemId = systemId; 41 this.line = line; 42 this.column = column; 43 } 44 45 46 50 public String getMessage () 51 { 52 return message; 53 } 54 55 56 60 public String getSystemId () 61 { 62 return systemId; 63 } 64 65 66 70 public int getLine () 71 { 72 return line; 73 } 74 75 79 public int getColumn () 80 { 81 return column; 82 } 83 84 } 85 | Popular Tags |