1 /***
2 * @(#) MirkEFileNotFoundException.java
3 *
4 * Created by:abuayyub on 29 January, 2005.
5
6 Copyright (c) 2004 Arizona State University - Cancer Research Institute. All rights reserved.
7
8 MirkE is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 MirkE is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with MirkE; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US
21
22 */
23 package edu.asu.cri.MirkE.exceptions;
24
25 /***
26 * @author abuayyub
27 *
28 * TODO To change the template for this generated type comment go to
29 * Window - Preferences - Java - Code Style - Code Templates
30 */
31 public class MirkEFileNotFoundException extends java.io.FileNotFoundException{
32
33
34 /***
35 * Comment for <code>serialVersionUID</code>
36 */
37 private static final long serialVersionUID = 3258413949702780982L;
38
39 private Throwable cause ;
40
41
42 /***
43 * Constructor with a message of the exception
44 *
45 * @param msg Message to further explain the exception
46 **/
47 public MirkEFileNotFoundException ( String msg )
48 {
49 super( msg );
50 }
51
52 /***
53 * Constructor with a message of the exception
54 *
55 **/
56 public MirkEFileNotFoundException ( )
57 {
58 super( );
59 }
60
61 /***
62 * Constructor with a message of the exception
63 *
64 * @param object root cause of exception
65 **/
66 public MirkEFileNotFoundException ( Throwable object )
67 {
68 super.initCause(object);
69
70 }
71
72
73
74
75
76 /***
77 * Describes the instance and its content for debugging purpose
78 *
79 * @return Using the one from the super class
80 **/
81 public String toString()
82 {
83 return super.toString();
84 }
85
86 /***
87 * Determines if the given instance is the same as this instance
88 * based on its content. This means that it has to be of the same
89 * class ( or subclass ) and it has to have the same content
90 *
91 * @param object
92 *
93 * @return Returns the equals value from the super class
94 **/
95 public boolean equals( Object object )
96 {
97 return super.equals( object );
98 }
99
100 /***
101 * Returns the hashcode of this instance
102 *
103 * @return Hashcode of the super class
104 **/
105 public int hashCode()
106 {
107 return super.hashCode();
108 }
109
110 }