|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| SAXModifyException.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 | /* | |
| 2 | * Copyright 2001-2004 (C) MetaStuff, Ltd. All Rights Reserved. | |
| 3 | * | |
| 4 | * This software is open source. | |
| 5 | * See the bottom of this file for the licence. | |
| 6 | * | |
| 7 | * $Id: SAXModifyException.java,v 1.1 2004/08/02 18:44:07 maartenc Exp $ | |
| 8 | */ | |
| 9 | ||
| 10 | package org.dom4j.io; | |
| 11 | ||
| 12 | /** | |
| 13 | * Exception internally thrown by the SAX Modification classes. | |
| 14 | * This is a RuntimeException since the {@link org.dom4j.ElementHandler} methods | |
| 15 | * do not throw Exceptions. | |
| 16 | * | |
| 17 | * @author Wonne Keysers (Realsoftware.be) | |
| 18 | */ | |
| 19 | class SAXModifyException extends RuntimeException { | |
| 20 | ||
| 21 | /** | |
| 22 | * @param cause The causing {@link java.lang.Throwable} | |
| 23 | */ | |
| 24 | 0 | protected SAXModifyException(Throwable cause) { |
| 25 | 0 | super(cause); |
| 26 | } | |
| 27 | ||
| 28 | } | |
| 29 | ||
| 30 | ||
| 31 | ||
| 32 | ||
| 33 | /* | |
| 34 | * Redistribution and use of this software and associated documentation | |
| 35 | * ("Software"), with or without modification, are permitted provided | |
| 36 | * that the following conditions are met: | |
| 37 | * | |
| 38 | * 1. Redistributions of source code must retain copyright | |
| 39 | * statements and notices. Redistributions must also contain a | |
| 40 | * copy of this document. | |
| 41 | * | |
| 42 | * 2. Redistributions in binary form must reproduce the | |
| 43 | * above copyright notice, this list of conditions and the | |
| 44 | * following disclaimer in the documentation and/or other | |
| 45 | * materials provided with the distribution. | |
| 46 | * | |
| 47 | * 3. The name "DOM4J" must not be used to endorse or promote | |
| 48 | * products derived from this Software without prior written | |
| 49 | * permission of MetaStuff, Ltd. For written permission, | |
| 50 | * please contact dom4j-info@metastuff.com. | |
| 51 | * | |
| 52 | * 4. Products derived from this Software may not be called "DOM4J" | |
| 53 | * nor may "DOM4J" appear in their names without prior written | |
| 54 | * permission of MetaStuff, Ltd. DOM4J is a registered | |
| 55 | * trademark of MetaStuff, Ltd. | |
| 56 | * | |
| 57 | * 5. Due credit should be given to the DOM4J Project - | |
| 58 | * http://www.dom4j.org | |
| 59 | * | |
| 60 | * THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS | |
| 61 | * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT | |
| 62 | * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | |
| 63 | * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL | |
| 64 | * METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, | |
| 65 | * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
| 66 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
| 67 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
| 68 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | |
| 69 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
| 70 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | |
| 71 | * OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 72 | * | |
| 73 | * Copyright 2001-2004 (C) MetaStuff, Ltd. All Rights Reserved. | |
| 74 | * | |
| 75 | * $Id: SAXModifyException.java,v 1.1 2004/08/02 18:44:07 maartenc Exp $ | |
| 76 | */ |
|
||||||||||