exception <assign> {,<assign> ...}
Create one or more exception identifiers and (optionally) give them values.
<assign>: <ident> { = <value>}
<ident> - The name of the identifier.
<value> - Another exception or a function yielding an exception.
None
If no value if given, the identifier is initialized to an empty exception.
Exceptions created by the exception command are user-exceptions, as opposed to system exceptions which can be generated by the system.
Create a new unitialized exception identifier.
exception myex
Create a new exception identifier and initialize it with a function value.
exception bad_data_ex=error_exception('Bad Data',107)
Commands: |
Functions: |
Identifiers: |
|
Structures: |