tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Einfeldt <ralph.einfe...@uptime-isc.de>
Subject AW: What the java.lang.ExceptionInInitializerError means?
Date Thu, 31 Aug 2000 06:43:54 GMT
You have a static initialiser which throws an exception.
To find out the real exception you must enclose your 
code with a try/catch block:

static {
  try {
    // Initialise
  } catch (Throwable ex) {
    ex.printStackTrace(); // Or what ever you might use to log such
information
    throw new ExceptionInInitializerError(ex.toString());
  }	
}

If you don't have acces to the source that throws this exception 
bad luck. Ask the developer/company who has it.

> -----Urspr√ľngliche Nachricht-----
> Von: Ismael Blesa Part [mailto:iblesa@tissat.es]
> Gesendet: Mittwoch, 30. August 2000 11:26
> Betreff: What the java.lang.ExceptionInInitializerError means?
 
> What the java.lang.ExceptionInInitializerError means?

Mime
View raw message