immutable class SYS_EXCEPT < $ENUMS{SYS_EXCEPT}
****

________This_immutable_class_models_the_errors_which_may_occur_in_the
___run-time_library_due_to_errors_in_the_environment_or_resources.


Ancestors
$ENUMS{_} $HASH $IS_EQ $TEXT
$STR $BINARY $ANCHORED_FMT $FMT
$NIL $IS_NIL



Public


Readable Attributes
attr enum : CARD ; .. Included as enum
**** Used also for transforming an enum to a cardinal value.

Constants
const cardinality : CARD := val_count ; .. Included as cardinality
**** the default value!
const offset : CARD := 1 ; .. Included as offset
****
________This_is_the_offset_from_the_index_of_first_element_of_the_Names_array
___(ie_zero)_to_the_first_enumeration_value_numeric_code.

Features
Access_Error : SAME
Bad_Environment : SAME
Bad_Format : SAME
Bad_Map : SAME
Bad_Name : SAME
Bad_Type : SAME
Bad_Value : SAME
Domain_Error : SAME
File_Error : SAME
Prefix : SAME
Range_Error : SAME
Resource_Missing : SAME
binstr : BINSTR .. Included as binstr
build( .. Included as build
build( loc_cursor : STR_CURSOR ) : SAME .. Included as build
card : CARD .. Included as card
create( .. Included as create
create( .. Included as create
create( str : STR ) : SAME .. Included as create
****
________This_is_the_creation_routine_from_a_string_which_is_any_of_the
___abbreviations_listed_in_the_Name_table.____If_the_name_table_has_not_been
___read_in_this_is_done_first.
fmt( format : ANCHORED_DESCR ) : STR .. Included as fmt
fmt( format : ANCHORED_DESCR, lib : LIBCHARS ) : STR .. Included as fmt
hash : CARD .. Included as hash
is_enum( str : STR ) : CONVERSION_RESULTS .. Included as is_enum
is_eq( .. Included as is_eq
is_eq(other : $OB) : BOOL .. Included as is_eq
**** This is the generic equality predicate. c.f. the class $IS_EQ
is_nil : BOOL .. Included as is_nil
nil : SAME .. Included as nil
read( .. Included as read
str( lib : LIBCHARS ) : STR .. Included as str
****
________This_routine_provides_a_string_representation_of_self_in_the_given
___character_repertoire_and_encoding_-_including_a_nil_value.
str : STR .. Included as str
****
________This_routine_provides_a_string_representation_of_self_in_the_default
___character_repertoire_and_encoding_-_including_a_nil_value.
write( .. Included as write

Iters
elt! : SAME .. Included as elt!


Private

const Max_Val : CARD := val_count ; .. Included as Max_Val
shared Names : ARRAY{STR} ; .. Included as Names
**** for external representation!
shared Names : ARRAY{STR} ; .. Included as Names
**** for external representation!
check_names( loc_lib : LIBCHARS ) .. Included as check_names
attr enum : CARD ; .. Included as enum
**** Used also for transforming an enum to a cardinal value.
equals(first_lcase,second : STR) : BOOL .. Included as equals
**** This routine tests for string equality up to the length of first! The test is case independent.
shared lib : LIBCHARS ; .. Included as lib
shared lib : LIBCHARS ; .. Included as lib
lookup(str : STR) : CARD .. Included as lookup
scan!(str : STR) : CARD .. Included as scan!
const val_count : CARD := 12 ;

The Sather Home Page