source: boa/src/test/java/geniusweb/boa/CrashingClass.java@ 52

Last change on this file since 52 was 52, checked in by ruud, 14 months ago

Fixed small issues in domaineditor.

File size: 326 bytes
Line 
1package geniusweb.boa;
2
3/**
4 * Class that throws the moment you try to load the class, even before you make
5 * an instance.
6 *
7 */
8public class CrashingClass {
9 private static int throwfailure = err();
10
11 private static int err() {
12 throw new IllegalArgumentException(
13 "Even loading this class will crash your app");
14 }
15}
Note: See TracBrowser for help on using the repository browser.