Rogue Wave Banner

Click on the banner to return to the user guide home page.

©Copyright 1996 Rogue Wave Software

Appendix C: Messages

Error messages are created by the macro DECLARE_MSG in files coreerr.cpp and toolerr.cpp.

Table C-1: Core messages: These are messages used by all Rogue Wave libraries. The symbols are defined in <rw/coreerr.h>. These messages belong to category "rwcore7.0".

Symbol
Message
CORE_EOF
"[EOF] EOF on input"
CORE_GENERIC
"[GENERIC] Generic error number %d; %s"
CORE_INVADDR
"[INVADDR] Invalid address: %lx"
CORE_LOCK
"[LOCK] Unable to lock memory"
CORE_NOINIT
"[NOINIT] Memory allocated without being initialized"
CORE_NOMEM
"[NOMEM] No memory"
CORE_OPERR
"[OPERR] Could not open file %s"
CORE_OUTALLOC
"[OUTALLOC] Memory released with allocations still outstanding"
CORE_OVFLOW
"[OVFLOW] Overflow error -> \"%.*s\" <- (%u max characters)"
CORE_STREAM
"[STREAM] Bad input stream"
CORE_SYNSTREAM
"[SYNSTREAM] Syntax error in input stream: expected %s, got %s"

Table C-2: Tools.h++ messages: These are messages used by the Tools.h++ library. The symbols are defined in <rw/toolerr.h>. These messages belong to category "rwtool7.0".

Symbol
Message
TOOL_ALLOCOUT
"[ALLOCOUT] %s destructor called with allocation outstanding"
TOOL_BADRE
"[BADRE] Attempt to use invalid regular expression"
TOOL_CRABS
"[CRABS] RWFactory: attempting to create abstract class with ID %hu (0x%hx)"
TOOL_FLIST
"[FLIST] Free list size error: expected %ld, got %ld"
TOOL_ID
"[ID] Unexpected class ID %hu; should be %hu"
TOOL_INDEX
"[INDEX] Index (%u) out of range [0->%u]"
TOOL_LOCK
"[LOCK] Locked object deleted"
TOOL_LONGINDEX
"[LONGINDEX] Long index (%lu) out of range [0->%lu]"
TOOL_MAGIC
"[MAGIC] Bad magic number: %ld (should be %ld)"
TOOL_NEVECL
"[NEVECL] Unequal vector lengths: %u versus %u"
TOOL_NOCREATE
"[NOCREATE] RWFactory: no create function for class with ID %hu (0x%hx)"
TOOL_NOTALLOW
"[NOTALLOW] Function not allowed for derived class"
TOOL_READERR
"[READERR] Read error"
TOOL_REF
"[REF] Bad persistence reference"
TOOL_SEEKERR
"[SEEKERR] Seek error"
TOOL_STREAM
"[STREAM] Bad input stream"
TOOL_SUBSTRING
"[SUBSTRING] Illegal substring (%d, %u) from %u element RWCString"
TOOL_UNLOCK
"[UNLOCK] Improper use of locked object"
TOOL_WRITEERR
"[WRITEERR] Write error"

Previous file Table of Contents Next file