Authors: Christian Thalinger
- $Id: exceptions.c 1435 2004-11-05 09:48:33Z twisti $
+ $Id: exceptions.c 1441 2004-11-05 13:44:03Z twisti $
*/
}
+/* new_arraystoreexception *****************************************************
+
+ generates a java.lang.ArrayStoreException for the jit compiler
+
+*******************************************************************************/
+
+java_objectheader *new_arraystoreexception()
+{
+ java_objectheader *e;
+
+ e = new_exception(string_java_lang_ArrayStoreException);
+
+ if (!e)
+ return *exceptionptr;
+
+ return e;
+}
+
+
/* new_classcastexception ******************************************************
generates a java.lang.ClassCastException for the jit compiler
Authors: Christian Thalinger
- $Id: exceptions.h 1435 2004-11-05 09:48:33Z twisti $
+ $Id: exceptions.h 1441 2004-11-05 13:44:03Z twisti $
*/
java_objectheader *new_arithmeticexception();
java_objectheader *new_arrayindexoutofboundsexception(s4 index);
+java_objectheader *new_arraystoreexception();
java_objectheader *new_classcastexception();
java_objectheader *new_negativearraysizeexception();
java_objectheader *new_nullpointerexception();
Authors: Christian Thalinger
- $Id: exceptions.c 1435 2004-11-05 09:48:33Z twisti $
+ $Id: exceptions.c 1441 2004-11-05 13:44:03Z twisti $
*/
}
+/* new_arraystoreexception *****************************************************
+
+ generates a java.lang.ArrayStoreException for the jit compiler
+
+*******************************************************************************/
+
+java_objectheader *new_arraystoreexception()
+{
+ java_objectheader *e;
+
+ e = new_exception(string_java_lang_ArrayStoreException);
+
+ if (!e)
+ return *exceptionptr;
+
+ return e;
+}
+
+
/* new_classcastexception ******************************************************
generates a java.lang.ClassCastException for the jit compiler
Authors: Christian Thalinger
- $Id: exceptions.h 1435 2004-11-05 09:48:33Z twisti $
+ $Id: exceptions.h 1441 2004-11-05 13:44:03Z twisti $
*/
java_objectheader *new_arithmeticexception();
java_objectheader *new_arrayindexoutofboundsexception(s4 index);
+java_objectheader *new_arraystoreexception();
java_objectheader *new_classcastexception();
java_objectheader *new_negativearraysizeexception();
java_objectheader *new_nullpointerexception();