Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

errorCodes.h

This is the verbatim text of the errorCodes.h include file.
/* Sun-$Revision: 23.5 $ */

/* Copyright 1992-9 Sun Microsystems, Inc. and Stanford University.
   See the LICENSE file for license information. */

# pragma interface

class ErrorCodes {
 public:
   static void init();

   static markOop  general_prim_error(char *err_string);
   static markOop       os_prim_error(fint error);
   static markOop vmString_prim_error(VMStringsIndex i);
   
  // Try to match a prefix of errString with either a "prim error" name,
  // an OS error name or a dynamic linker error name. If matched, return
  // corresponding explanation.
  static oop error_message_prim(byteVectorOop errString);

 private:
  // platform-specific fns:
  static char* os_error_message(char* s);  // takes ptr to non-terminated str, returns stringOop, 0 or -1
  static char* os_error_name(fint error);
};


Generated at Tue Jun 27 12:07:20 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999