* renamed CACAO_TYPECHECK to ENABLE_VERIFIER
[cacao.git] / src / vm / exceptions.h
index 7e41a8defe376653dab923d204d76e2a881ef9d6..e3891d3547a769610d039bbaf82972e79180bfd0 100644 (file)
@@ -28,7 +28,7 @@
 
    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 $
 
 */
 
@@ -76,7 +76,10 @@ void throw_exception_exit(void);
 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 */
@@ -103,6 +106,9 @@ java_objectheader *new_exception_int(const char *classname, s4 i);
 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,
@@ -113,11 +119,14 @@ java_objectheader *new_arrayindexoutofboundsexception(s4 index);
 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 */