/*
 * Java core library component.
 *
 * Copyright (c) 1997, 1998
 *      Transvirtual Technologies, Inc.  All rights reserved.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file.
 */

package java.lang;

public class ExceptionInInitializerError extends LinkageError {

  private static final long serialVersionUID = 1521711792217232256L;

  private Throwable thrown;

  public ExceptionInInitializerError () {
    super();
    thrown = null;
  }

  public ExceptionInInitializerError (Throwable t) {
    super("[exception was " 
       + t.getClass().getName()
       + ((t.getMessage() == null) ? "" : (": " + t.getMessage()))
       + "]");
    thrown = t;
  }

  public ExceptionInInitializerError (String s) {
    super(s);
    thrown = null;
  }

  public Throwable getException() {
    return (thrown);
  }
}

@@ -570,114 +570,11 @@
 s %22 
-%0A       + t.getClass().getName()%0A       + ((t.getMessage() == null) ? %22%22 : (%22: %22 + t.getMessage()))%0A      
++ t
  + %22

Simplify constructor.