KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > modules > admin > filemanager > PageAlreadyExistsException


1 /*
2 Copyright (c) 2003 eInnovation Inc. All rights reserved
3
4 This library is free software; you can redistribute it and/or modify it under the terms
5 of the GNU Lesser General Public License as published by the Free Software Foundation;
6 either version 2.1 of the License, or (at your option) any later version.
7
8 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the GNU Lesser General Public License for more details.
11 */

12
13 package com.openedit.modules.admin.filemanager;
14
15 import com.openedit.OpenEditException;
16
17
18 /**
19  * This exception is thrown when attempting to add a new page that already exists, where the user
20  * does not wish to overwrite existing pages.
21  *
22  * @author Eric Galluzzo
23  */

24 public class PageAlreadyExistsException extends OpenEditException
25 {
26     /**
27      * Constructor for PageAlreadyExistsException.
28      *
29      * @param inMsg
30      */

31     public PageAlreadyExistsException(String JavaDoc inMsg)
32     {
33         super(inMsg);
34     }
35
36     /**
37      * Constructor for PageAlreadyExistsException.
38      *
39      * @param inMsg
40      * @param inRootCause
41      */

42     public PageAlreadyExistsException(String JavaDoc inMsg, Throwable JavaDoc inRootCause)
43     {
44         super(inMsg, inRootCause);
45     }
46
47     /**
48      * Constructor for PageAlreadyExistsException.
49      *
50      * @param inRootCause
51      */

52     public PageAlreadyExistsException(Throwable JavaDoc inRootCause)
53     {
54         super(inRootCause);
55     }
56 }
57
Popular Tags