00001 #include <j2k/Test/LangTest.hpp> 00002 00003 int main() { 00004 ArrayIndexOutOfBoundsException* arrayIndexOutOfBoundsException1 = new ArrayIndexOutOfBoundsException(); 00005 ArrayIndexOutOfBoundsException* arrayIndexOutOfBoundsException2 = new ArrayIndexOutOfBoundsException( new String("ArrayIndexOutOfBoundsException")); 00006 ClassCastException* classCastException1 = new ClassCastException(); 00007 ClassCastException* classCastException2 = new ClassCastException( new String("ClassCastException")); 00008 ClassCircularityError* classCircularityError1 = new ClassCircularityError(); 00009 ClassCircularityError* classCircularityError2 = new ClassCircularityError( new String("ClassCircularityError")); 00010 ClassNotFoundException* classNotFoundException1 = new ClassNotFoundException(); 00011 ClassNotFoundException* classNotFoundException2 = new ClassNotFoundException( new String("ClassNotFoundException")); 00012 CloneNotSupportedException* cloneNotSupportedException1 = new CloneNotSupportedException(); 00013 CloneNotSupportedException* cloneNotSupportedException2 = new CloneNotSupportedException( new String("CloneNotSupportedException")); 00014 Exception* exception1 = new Exception(); 00015 Exception* exception2 = new Exception( new String("Exception")); 00016 ExceptionInInitializerError* exceptionInInitializerError1 = new ExceptionInInitializerError(); 00017 ExceptionInInitializerError* exceptionInInitializerError2 = new ExceptionInInitializerError( new String("ExceptionInInitializerError")); 00018 IllegalAccessError* illegalAccessError1 = new IllegalAccessError(); 00019 IllegalAccessError* illegalAccessError2 = new IllegalAccessError( new String("IllegalAccessError")); 00020 IllegalArgumentException* illegalArgumentException1 = new IllegalArgumentException(); 00021 IllegalArgumentException* illegalArgumentException2 = new IllegalArgumentException( new String("IllegalArgumentException")); 00022 IllegalStateException* illegalStateException1 = new IllegalStateException(); 00023 IllegalStateException* illegalStateException2 = new IllegalStateException( new String("IllegalStateException")); 00024 IncompatibleClassChangeError* incompatibleClassChangeError1 = new IncompatibleClassChangeError(); 00025 IncompatibleClassChangeError* incompatibleClassChangeError2 = new IncompatibleClassChangeError( new String("IncompatibleClassChangeError")); 00026 InstantiationError* instantiationError1 = new InstantiationError(); 00027 InstantiationError* instantiationError2 = new InstantiationError( new String("InstantiationError")); 00028 InternalError* internalError1 = new InternalError(); 00029 InternalError* internalError2 = new InternalError( new String("InternalError")); 00030 LinkageError* linkageError1 = new LinkageError(); 00031 LinkageError* linkageError2 = new LinkageError( new String("LinkageError")); 00032 NegativeArraySizeException* negativeArraySizeException1 = new NegativeArraySizeException(); 00033 NegativeArraySizeException* negativeArraySizeException2 = new NegativeArraySizeException( new String("NegativeArraySizeException")); 00034 NoSuchFieldError* noSuchFieldError1 = new NoSuchFieldError(); 00035 NoSuchFieldError* noSuchFieldError2 = new NoSuchFieldError( new String("NoSuchFieldError")); 00036 NoSuchMethodError* noSuchMethodError1 = new NoSuchMethodError(); 00037 NoSuchMethodError* noSuchMethodError2 = new NoSuchMethodError( new String("NoSuchMethodError")); 00038 NullPointerException* nullPointerException1 = new NullPointerException(); 00039 NullPointerException* nullPointerException2 = new NullPointerException( new String("NullPointerException")); 00040 NumberFormatException* numberFormatException1 = new NumberFormatException(); 00041 NumberFormatException* numberFormatException2 = new NumberFormatException( new String("NumberFormatException")); 00042 OutOfMemoryError* outOfMemoryError1 = new OutOfMemoryError(); 00043 OutOfMemoryError* outOfMemoryError2 = new OutOfMemoryError( new String("OutOfMemoryError")); 00044 RuntimeException* runtimeException1 = new RuntimeException(); 00045 RuntimeException* runtimeException2 = new RuntimeException( new String("RuntimeException")); 00046 StackOverflowError* stackOverflowError1 = new StackOverflowError(); 00047 StackOverflowError* stackOverflowError2 = new StackOverflowError( new String("StackOverflowError")); 00048 AbstractMethodError* abstractMethodError1 = new AbstractMethodError(); 00049 AbstractMethodError* abstractMethodError2 = new AbstractMethodError( new String("AbstractMethodError")); 00050 Throwable* throwable1 = new Throwable(); 00051 Throwable* throwable2 = new Throwable( new String("Throwable")); 00052 UnsatisfiedLinkError* unsatisfiedLinkError1 = new UnsatisfiedLinkError(); 00053 UnsatisfiedLinkError* unsatisfiedLinkError2 = new UnsatisfiedLinkError( new String("UnsatisfiedLinkError")); 00054 VirtualMachineError* virtualMachineError1 = new VirtualMachineError(); 00055 VirtualMachineError* virtualMachineError2 = new VirtualMachineError( new String("VirtualMachineError")); 00056 ArithmeticException* arithmeticException1 = new ArithmeticException(); 00057 ArithmeticException* arithmeticException2 = new ArithmeticException( new String("ArithmeticException")); 00058 ArrayStoreException* arrayStoreException1 = new ArrayStoreException(); 00059 ArrayStoreException* arrayStoreException2 = new ArrayStoreException( new String("ArrayStoreException")); 00060 ClassFormatError* classFormatError1 = new ClassFormatError(); 00061 ClassFormatError* classFormatError2 = new ClassFormatError( new String("ClassFormatError")); 00062 Error* error1 = new Error(); 00063 Error* error2 = new Error( new String("Error")); 00064 IllegalThreadStateException* illegalThreadStateException1 = new IllegalThreadStateException(); 00065 IllegalThreadStateException* illegalThreadStateException2 = new IllegalThreadStateException( new String("IllegalThreadStateException")); 00066 IllegalMonitorStateException* illegalMonitorStateException1 = new IllegalMonitorStateException(); 00067 IllegalMonitorStateException* illegalMonitorStateException2 = new IllegalMonitorStateException( new String("IllegalMonitorStateException")); 00068 IllegalAccessException* illegalAccessException1 = new IllegalAccessException(); 00069 IllegalAccessException* illegalAccessException2 = new IllegalAccessException( new String("IllegalAccessException")); 00070 IndexOutOfBoundsException* indexOutOfBoundsException1 = new IndexOutOfBoundsException(); 00071 IndexOutOfBoundsException* indexOutOfBoundsException2 = new IndexOutOfBoundsException( new String("IndexOutOfBoundsException")); 00072 InstantiationException* instantiationException1 = new InstantiationException(); 00073 InstantiationException* instantiationException2 = new InstantiationException( new String("InstantiationException")); 00074 InterruptedException* interruptedException1 = new InterruptedException(); 00075 InterruptedException* interruptedException2 = new InterruptedException( new String("InterruptedException")); 00076 NoClassDefFoundError* noClassDefFoundError1 = new NoClassDefFoundError(); 00077 NoClassDefFoundError* noClassDefFoundError2 = new NoClassDefFoundError( new String("NoClassDefFoundError")); 00078 NoSuchFieldException* noSuchFieldException1 = new NoSuchFieldException(); 00079 NoSuchFieldException* noSuchFieldException2 = new NoSuchFieldException( new String("NoSuchFieldException")); 00080 NoSuchMethodException* noSuchMethodException1 = new NoSuchMethodException(); 00081 NoSuchMethodException* noSuchMethodException2 = new NoSuchMethodException( new String("NoSuchMethodException")); 00082 SecurityException* securityException1 = new SecurityException(); 00083 SecurityException* securityException2 = new SecurityException( new String("SecurityException")); 00084 00085 /* 00086 StringIndexOutOfBoundsException* stringIndexOutOfBoundsException1 = new StringIndexOutOfBoundsException(); 00087 StringIndexOutOfBoundsException* stringIndexOutOfBoundsException2 = new StringIndexOutOfBoundsException( new String("StringIndexOutOfBoundsException")); 00088 */ 00089 00090 UnknownError* unknownError1 = new UnknownError(); 00091 UnknownError* unknownError2 = new UnknownError( new String("UnknownError")); 00092 VerifyError* verifyError1 = new VerifyError(); 00093 VerifyError* verifyError2 = new VerifyError( new String("VerifyError")); 00094 00095 // Check 00096 00097 delete arrayIndexOutOfBoundsException1; 00098 delete arrayIndexOutOfBoundsException2; 00099 delete classCastException1; 00100 delete classCastException2; 00101 delete classCircularityError1; 00102 delete classCircularityError2; 00103 delete classNotFoundException1; 00104 delete classNotFoundException2; 00105 delete cloneNotSupportedException1; 00106 delete cloneNotSupportedException2; 00107 delete exception1; 00108 delete exception2; 00109 delete exceptionInInitializerError1; 00110 delete exceptionInInitializerError2; 00111 delete illegalAccessError1; 00112 delete illegalAccessError2; 00113 delete illegalArgumentException1; 00114 delete illegalArgumentException2; 00115 delete illegalStateException1; 00116 delete illegalStateException2; 00117 delete incompatibleClassChangeError1; 00118 delete incompatibleClassChangeError2; 00119 delete instantiationError1; 00120 delete instantiationError2; 00121 delete internalError1; 00122 delete internalError2; 00123 delete linkageError1; 00124 delete linkageError2; 00125 delete negativeArraySizeException1; 00126 delete negativeArraySizeException2; 00127 delete noSuchFieldError1; 00128 delete noSuchFieldError2; 00129 delete noSuchMethodError1; 00130 delete noSuchMethodError2; 00131 delete nullPointerException1; 00132 delete nullPointerException2; 00133 delete numberFormatException1; 00134 delete numberFormatException2; 00135 delete outOfMemoryError1; 00136 delete outOfMemoryError2; 00137 delete runtimeException1; 00138 delete runtimeException2; 00139 delete stackOverflowError1; 00140 delete stackOverflowError2; 00141 delete abstractMethodError1; 00142 delete abstractMethodError2; 00143 delete throwable1; 00144 delete throwable2; 00145 delete unsatisfiedLinkError1; 00146 delete unsatisfiedLinkError2; 00147 delete virtualMachineError1; 00148 delete virtualMachineError2; 00149 delete arithmeticException1; 00150 delete arithmeticException2; 00151 delete arrayStoreException1; 00152 delete arrayStoreException2; 00153 delete classFormatError1; 00154 delete classFormatError2; 00155 delete error1; 00156 delete error2; 00157 delete unknownError1; 00158 delete unknownError2; 00159 delete verifyError1; 00160 delete verifyError2; 00161 delete securityException1; 00162 delete securityException2; 00163 delete noClassDefFoundError1; 00164 delete noClassDefFoundError2; 00165 delete noSuchFieldException1; 00166 delete noSuchFieldException2; 00167 delete noSuchMethodException1; 00168 delete noSuchMethodException2; 00169 delete illegalThreadStateException1; 00170 delete illegalThreadStateException2; 00171 delete illegalMonitorStateException1; 00172 delete illegalMonitorStateException2; 00173 delete illegalAccessException1; 00174 delete illegalAccessException2; 00175 delete indexOutOfBoundsException1; 00176 delete indexOutOfBoundsException2; 00177 delete instantiationException1; 00178 delete instantiationException2; 00179 delete interruptedException1; 00180 delete interruptedException2; 00181 /* 00182 delete stringIndexOutOfBoundsException1; 00183 delete stringIndexOutOfBoundsException2; 00184 */ 00185 00186 return 0; 00187 }