KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > icl > saxon > style > StyleException


1 package com.icl.saxon.style;
2 import com.icl.saxon.tree.AttributeCollection;
3 import javax.xml.transform.*;
4
5 /**
6 * StyleException is used to indicate a SAXException whose message already contains information
7 * identifying the location of the error.
8 */

9
10 public class StyleException extends TransformerException {
11
12     public StyleException(String JavaDoc message) {
13         super(message);
14     }
15
16     public StyleException(Exception JavaDoc err, String JavaDoc message) {
17         super(message, err);
18     }
19
20 }
21
22 //
23
// The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
24
// you may not use this file except in compliance with the License. You may obtain a copy of the
25
// License at http://www.mozilla.org/MPL/
26
//
27
// Software distributed under the License is distributed on an "AS IS" basis,
28
// WITHOUT WARRANTY OF ANY KIND, either express or implied.
29
// See the License for the specific language governing rights and limitations under the License.
30
//
31
// The Original Code is: all this file.
32
//
33
// The Initial Developer of the Original Code is
34
// Michael Kay of International Computers Limited (mhkay@iclway.co.uk).
35
//
36
// Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
37
//
38
// Contributor(s): none.
39
//
40
Popular Tags