Source code: com/xpn/xwiki/plugin/packaging/PackageException.java
1 package com.xpn.xwiki.plugin.packaging;
2
3 import com.xpn.xwiki.XWikiException;
4 import com.xpn.xwiki.plugin.PluginException;
5
6 /**
7 * ===================================================================
8 *
9 * Copyright (c) 2005 XpertNet, All rights reserved.
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
15 * <p/>
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details, published at
20 * http://www.gnu.org/copyleft/gpl.html or in gpl.txt in the
21 * root folder of this distribution.
22 */
23 public class PackageException extends PluginException{
24 static String plugName = "Package";
25
26 public PackageException(int code, String message, Throwable e, Object[] args)
27 {
28 super(plugName, code, message, e, args);
29 }
30
31 public PackageException(int code, String message, Throwable e){
32 super(plugName, code, message, e);
33 }
34
35 public PackageException(int code, String message){
36 super(plugName, code, message);
37 }
38
39 public PackageException(){
40 super();
41 }
42 }