KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > schlichtherle > io > ArchiveBusyWarningException


1 /*
2  * ArchiveBusyWarningException.java
3  *
4  * Created on 10. September 2005, 11:44
5  */

6 /*
7  * Copyright 2005 Schlichtherle IT Services
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */

21
22 package de.schlichtherle.io;
23
24 /**
25  * This exception is thrown if an archive controller successfully updated
26  * an archive and forced at least one open input or output stream for its
27  * entries to be closed.
28  * Hence, with the exception of their <code>close()</code> method, any
29  * subsequent I/O operation on these entry streams will throw an
30  * {@link ArchiveEntryStreamClosedException}.
31  * The canonical path name of the archive file is provided as the detail message.
32  *
33  * @author Christian Schlichtherle
34  * @version @version@
35  * @since TrueZIP 6.0
36  */

37 public class ArchiveBusyWarningException extends ArchiveWarningException {
38
39     ArchiveBusyWarningException(ArchiveException priorException, String JavaDoc canPath) {
40         super(priorException, canPath);
41     }
42
43     // TODO: Remove this.
44
/**
45      * @deprecated You should not use this constructor.
46      * It will vanish in the next major version.
47      */

48     public ArchiveBusyWarningException(
49             ArchiveException priorException, java.io.File JavaDoc target) {
50         super(priorException, target.getPath());
51     }
52 }
53
Popular Tags