Lines 50-55
Link Here
|
50 |
*/ |
50 |
*/ |
51 |
package org.apache.fop.apps; |
51 |
package org.apache.fop.apps; |
52 |
|
52 |
|
|
|
53 |
import java.util.ArrayList; |
54 |
|
55 |
import org.apache.fop.fo.FObj; |
53 |
import org.xml.sax.SAXException; |
56 |
import org.xml.sax.SAXException; |
54 |
|
57 |
|
55 |
|
58 |
|
Lines 107-112
Link Here
|
107 |
line = -1; |
110 |
line = -1; |
108 |
column = -1; |
111 |
column = -1; |
109 |
} |
112 |
} |
|
|
113 |
|
114 |
public FOPException(String message, FObj node) |
115 |
{ |
116 |
super(message); |
117 |
node.getMarkedLocation(this); |
118 |
} |
110 |
|
119 |
|
111 |
public FOPException(String message, Throwable e, String systemId, int line, int column) { |
120 |
public FOPException(String message, Throwable e, String systemId, int line, int column) { |
112 |
super(message); |
121 |
super(message); |
Lines 158-163
Link Here
|
158 |
} |
167 |
} |
159 |
} |
168 |
} |
160 |
|
169 |
|
|
|
170 |
public String getSystemId() |
171 |
{ |
172 |
return systemId; |
173 |
} |
174 |
|
175 |
public int getLine() |
176 |
{ |
177 |
return line; |
178 |
} |
179 |
|
180 |
public int getColumn() |
181 |
{ |
182 |
return column; |
183 |
} |
184 |
|
161 |
public void printStackTrace() { |
185 |
public void printStackTrace() { |
162 |
synchronized (System.err) { |
186 |
synchronized (System.err) { |
163 |
super.printStackTrace(); |
187 |
super.printStackTrace(); |
Lines 199-203
Link Here
|
199 |
} |
223 |
} |
200 |
} |
224 |
} |
201 |
} |
225 |
} |
202 |
|
|
|
203 |
} |
226 |
} |