Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

Error
[Ruby]


Functions

VALUE rb_exc_new (VALUE, const char *, long)
VALUE rb_exc_new2 (VALUE, const char *)
VALUE rb_exc_new3 (VALUE, VALUE)
void rb_loaderror (const char *,...)
void rb_name_error (ID, const char *,...)
void rb_invalid_str (const char *, const char *)
void rb_compile_error (const char *,...)
void rb_compile_error_append (const char *,...)
void rb_load_fail (char *)
void rb_error_frozen (char *)
void rb_check_frozen (VALUE)

Variables

RUBY_EXTERN int ruby_nerrs


Function Documentation

void rb_check_frozen VALUE   ) 
 

Definition at line 1167 of file error.c.

References OBJ_FROZEN, rb_error_frozen(), rb_obj_classname(), and VALUE.

Referenced by rb_io_taint_check(), rb_obj_init_copy(), rb_reg_init_copy(), rb_reg_initialize_m(), rb_stat_init_copy(), rb_struct_init_copy(), and time_modify().

void rb_compile_error const char *  ,
... 
 

Definition at line 82 of file error.c.

References args, err_print(), ruby_nerrs, and va_init_list.

Referenced by assignable(), gettable(), here_document(), heredoc_identifier(), no_blockarg(), parse_string(), rb_backref_error(), rb_reg_raise(), regx_options(), tokadd_string(), yyerror(), and yyparse().

void rb_compile_error_append const char *  ,
... 
 

Definition at line 99 of file error.c.

References args, err_append(), va_init_list, and vsnprintf().

Referenced by yyerror().

void rb_error_frozen char *   ) 
 

This function does not return.

Referenced by mod_av_set(), rb_add_method(), rb_ary_modify_check(), rb_check_frozen(), rb_cvar_set(), rb_eval(), rb_frozen_class_p(), rb_hash_modify(), rb_ivar_set(), rb_mod_remove_const(), rb_mod_remove_cvar(), rb_obj_remove_instance_variable(), rb_obj_taint(), rb_obj_untaint(), rb_struct_modify(), rb_thread_local_aset(), remove_method(), and str_independent().

VALUE rb_exc_new VALUE  ,
const char *  ,
long 
 

Definition at line 316 of file error.c.

References rb_funcall(), rb_intern(), rb_str_new(), and VALUE.

Referenced by rb_exc_new2(), rb_exc_new3(), and rb_longjmp().

VALUE rb_exc_new2 VALUE  ,
const char * 
 

Definition at line 325 of file error.c.

References rb_exc_new(), and VALUE.

Referenced by err_append(), Init_GC(), Init_Proc(), localjump_error(), rb_fatal(), rb_loaderror(), rb_raise(), rb_thread_deadlock(), rb_thread_fd_close(), and rb_thread_start_0().

VALUE rb_exc_new3 VALUE  ,
VALUE 
 

Definition at line 333 of file error.c.

References rb_exc_new(), RSTRING, StringValue, and VALUE.

Referenced by compile_error(), err_append(), and rb_make_exception().

void rb_invalid_str const char *  ,
const char * 
 

This function does not return.

Referenced by rb_cstr_to_dbl(), and rb_cstr_to_inum().

void rb_load_fail char *   ) 
 

This function does not return.

Referenced by load_file().

void rb_loaderror const char *  ,
... 
 

This function does not return.

Definition at line 1066 of file error.c.

References args, rb_eLoadError, rb_exc_new2(), rb_exc_raise(), va_init_list, and vsnprintf().

Referenced by dln_load(), and rb_load_fail().

void rb_name_error ID  ,
const char *  ,
... 
 

This function does not return.

Definition at line 596 of file error.c.

References args, ID, ID2SYM, rb_class_new_instance(), rb_eNameError, rb_exc_raise(), rb_str_new2(), va_init_list, VALUE, and vsnprintf().

Referenced by make_struct(), print_undef(), range_initialize(), rb_attr(), rb_call_super(), rb_cv_get(), rb_cv_set(), rb_cvar_get(), rb_define_class(), rb_define_class_under(), rb_define_class_variable(), rb_eval(), rb_f_throw(), rb_f_untrace_var(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_const_set(), rb_mod_cvar_get(), rb_mod_cvar_set(), rb_mod_remove_const(), rb_mod_remove_cvar(), rb_obj_ivar_get(), rb_obj_ivar_set(), rb_obj_remove_instance_variable(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_set(), rb_undef(), readonly_setter(), remove_method(), and uninitialized_constant().


Variable Documentation

RUBY_EXTERN int ruby_nerrs
 

Definition at line 132 of file intern.h.


Generated on Wed Jan 18 23:32:12 2006 for Ruby by doxygen 1.3.5