OSDN Git Service

* All files: Updated copyright information.
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / ExceptionInInitializerError.java
1 // ExceptionInInitializerError.java
2
3 /* Copyright (C) 1998, 1999  Free Software Foundation
4
5    This file is part of libgcj.
6
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9 details.  */
10  
11 package java.lang;
12  
13 /**
14  * @author Tom Tromey <tromey@cygnus.com>
15  * @date October 1, 1998 
16  */
17 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
18  * "The Java Language Specification", ISBN 0-201-63451-1
19  * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.
20  * Status:  Believed complete and correct.
21  */
22
23 public class ExceptionInInitializerError extends LinkageError
24 {
25   public ExceptionInInitializerError ()
26   {
27     super ();
28     exception = null;
29   }
30
31   public ExceptionInInitializerError (String msg)
32   {
33     super (msg);
34     exception = null;
35   }
36
37   public ExceptionInInitializerError (Throwable e)
38   {
39     super ();
40     exception = e;
41   }
42
43   public Throwable getException ()
44   {
45     return exception;
46   }
47
48   // The exception that caused this error.
49   private Throwable exception;
50 }