14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.xml.transform;
27
28 import java.lang.reflect.Method;
29 import java.lang.reflect.InvocationTargetException;
30
31 /**
32 * This class specifies an exceptional condition that occured
33 * during the transformation process.
34 */
35 public class TransformerException extends Exception {
36
37 /** Field locator specifies where the error occured */
38 SourceLocator locator;
39
40 /**
41 * Method getLocator retrieves an instance of a SourceLocator
42 * object that specifies where an error occured.
43 *
44 * @return A SourceLocator object, or null if none was specified.
45 */
46 public SourceLocator getLocator() {
47 return locator;
48 }
49
50 /**
51 * Method setLocator sets an instance of a SourceLocator
52 * object that specifies where an error occured.
53 *
|
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.xml.transform;
27
28 import java.lang.reflect.Method;
29 import java.lang.reflect.InvocationTargetException;
30
31 /**
32 * This class specifies an exceptional condition that occured
33 * during the transformation process.
34 *
35 * @since 1.4
36 */
37 public class TransformerException extends Exception {
38
39 /** Field locator specifies where the error occured */
40 SourceLocator locator;
41
42 /**
43 * Method getLocator retrieves an instance of a SourceLocator
44 * object that specifies where an error occured.
45 *
46 * @return A SourceLocator object, or null if none was specified.
47 */
48 public SourceLocator getLocator() {
49 return locator;
50 }
51
52 /**
53 * Method setLocator sets an instance of a SourceLocator
54 * object that specifies where an error occured.
55 *
|