immutable class FMT_ERROR < $STR
****
Errors raised by FMT belong to this class.


Ancestors
$STR



Public


Readable Attributes
attr error: INT;
**** Error type as defined in FMT_ERROR_FLAGS.
attr str: STR;
**** Literal message for the user providing more information.

Readonly Shareds
shared raise_exceptions: BOOL := false;
**** Most of the exceptions are returned instead of the string translation of the number. If this flag is set to 'true' all exceptions are being raised for user processing. NEVER touch this variable from within a library!

Writable Shareds
shared raise_exceptions: BOOL := false;
**** Most of the exceptions are returned instead of the string translation of the number. If this flag is set to 'true' all exceptions are being raised for user processing. NEVER touch this variable from within a library!

Constants
bad_type, .. Included as bad_type
**** Type does not support C style format.
illegal_arg_number, .. Included as illegal_arg_number
**** Argumentnumber bigger than number of args.
malformed_format, .. Included as malformed_format
**** Syntax error in Sather style format.
not_supported, .. Included as not_supported
**** Wait for next release :-)
sprintf_failed; .. Included as sprintf_failed
**** sprintf returned an error.
unexpected_end_format, .. Included as unexpected_end_format
**** Format expression without proper end.
wrong_type, .. Included as wrong_type
**** Argument type conflicts with C style letter.

Features
create(err:INT,s:STR): SAME
create(s:STR): SAME


Private

attr error: INT;
**** Error type as defined in FMT_ERROR_FLAGS.
attr str: STR;
**** Literal message for the user providing more information.

The Sather Home Page