KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > common > ant > DirException


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.common.ant;
10
11 import java.io.File JavaDoc;
12
13 /**
14  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
15  * @version $Revision: 1.1.1.1 $
16  */

17 public class DirException extends Exception JavaDoc
18 {
19
20    private File JavaDoc file;
21
22    public DirException(File JavaDoc file, String JavaDoc msg)
23    {
24       super(msg);
25       this.file = file;
26    }
27
28    public File JavaDoc getFile()
29    {
30       return file;
31    }
32 }
33
Popular Tags