Changes: Edwin Steiner
- $Id: exceptions.h 3466 2005-10-20 10:42:12Z edwin $
+ $Id: exceptions.h 3807 2005-11-26 21:51:11Z edwin $
*/
void throw_main_exception(void);
void throw_main_exception_exit(void);
-void throw_cacao_exception_exit(const char *exception, const char *message, ...);
+void throw_cacao_exception_exit(const char *exception,
+ const char *message, ...);
+
+void exceptions_throw_outofmemory_exit(void);
/* initialize new exceptions */
java_objectheader *new_classformaterror(classinfo *c, const char *message, ...);
java_objectheader *new_classnotfoundexception(utf *name);
java_objectheader *new_noclassdeffounderror(utf *name);
+java_objectheader *exceptions_new_linkageerror(const char *message,classinfo *c);
+java_objectheader *exceptions_new_nosuchmethoderror(classinfo *c,
+ utf *name, utf *desc);
java_objectheader *new_internalerror(const char *message, ...);
java_objectheader *new_verifyerror(methodinfo *m, const char *message, ...);
java_objectheader *new_unsupportedclassversionerror(classinfo *c,
java_objectheader *new_arraystoreexception(void);
java_objectheader *new_classcastexception(void);
java_objectheader *new_illegalargumentexception(void);
+java_objectheader *new_illegalmonitorstateexception(void);
java_objectheader *new_negativearraysizeexception(void);
java_objectheader *new_nullpointerexception(void);
void classnotfoundexception_to_noclassdeffounderror(void);
+void exceptions_print_exception(java_objectheader *xptr);
+
#endif /* _EXCEPTIONS_H */