source: trunk/docx4j/src/main/java/org/docx4j/openpackaging/exceptions/InvalidFormatException.java @ 1004

Revision 1004, 1.9 KB checked in by jharrop, 2 years ago (diff)

Remove dom4j stuff

  • Property svn:eol-style set to native
Line 
1/*
2 * Copyright (c) 2006, Wygwam
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without modification,
6 * are permitted provided that the following conditions are met:
7 *
8 * - Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 * - Redistributions in binary form must reproduce the above copyright notice,
11 * this list of conditions and the following disclaimer in the documentation and/or
12 * other materials provided with the distribution.
13 * - Neither the name of Wygwam nor the names of its contributors may be
14 * used to endorse or promote products derived from this software without
15 * specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
24 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28package org.docx4j.openpackaging.exceptions;
29
30
31@SuppressWarnings("serial")
32public class InvalidFormatException extends Docx4JException{
33
34        public InvalidFormatException(String message){
35                super(message);
36        }
37       
38        public InvalidFormatException(String msg, Exception e) {
39                super(msg, e);
40        }
41
42        public InvalidFormatException(String msg, Throwable t) {
43                super(msg, t);
44        }
45       
46}
Note: See TracBrowser for help on using the repository browser.