Module #09.01.11.01 : C specific user error handling

All PVT documentation can be found under PHIGS Validation Tests - Overview. You may also return to the hierarchical table of topics covered by the PVT. For an explanation of the format of the individual module documentation, please see section 2.5 of the User's Guide.


DESCRIPTION: This module tests the function of <set error handling> and
if some functions generate C binding specific errors under certain incorrect
conditions. The error is handled by a user defined error handling subroutine.

SEMANTIC REQUIREMENTS:


SR1. <set error handling> sets PHIGS error handling function to new error handling function. The implementation will invoke the new function when an error is detected.
#F 324
#D
#S
#T P01/1

SR2. <set error handling> returns the previous error handling function.
#F 324
#D
#S
#T P01/2

SR3. <set error handling> returns default system error handling function perr_hand when called first time.
#F 324
#D
#S
#T P02/1

SR4. If functions <redraw all structures>, <update workstation>, <set display update state>, <set text precision>, <set text path>, <set text alignment>, <set annotation text path>, <set annotation text alignment>, <set interior style>, <set edge flag>, <set individual asf>, <set text representation>, <set interior representation>, <set edge representation>, <set colour model>, <set local transformation 3>, <set local transformation>, <set modelling clipping indicator>, <set view representation 3>, <set view representation>, <set view transformation input priority>, <set edit mode>, <delete structure network>, <set conflict resolution>, <retrieve paths to ancestors>, <retrieve paths to decendants>, <initialize choice 3>-<initialize pick>, <set locator mode>-<set string mode>, <flush device events>, <set error handling mode> are called, and enumeration type is out of range, then error 2202 is generated and the function is ignored.
#F 5 6 7 37 43 44 47 48 50 53 62 65 66 67 72 75 76 81 84 85 86 117 127
#F 140 145 146 158-161 164-169 187 318
#D
#S 4.12/109/6
#T P03/1 P03/2 P03/3 P03/4 P03/5 P03/6 P03/7 P03/8 P03/9 P03/10 P03/11
#T P03/12 P03/13 P03/14 P03/15 P03/16 P03/17 P03/18 P03/19 P03/20
#T P03/21
LOCAL DICTIONARY:

  Functions ---
  005: prst    <redraw all structures>
  006: puwk    <update workstation>
  007: psdus   <set display update state>
  037: pstxpr  <set text precision>
  043: pstxp   <set text path>
  044: pstxal  <set text alignment>
  047: psatp   <set annotation text path>
  048: psatal  <set annotation text alignment>
  050: psis    <set interior style>
  053: psedfg  <set edge flag>
  062: psiasf  <set individual asf>
  065: pstxr   <set text representation>
  066: psir    <set interior representation>
  067: psedr   <set edge representation>
  072: pscmd   <set colour model>
  075: pslmt3  <set local transformation 3>
  076: pslmt   <set local transformation>
  081: psmcli  <set modelling clipping indicator>
  084: psvwr3  <set view representation 3>
  085: psvwr   <set view representation>
  086: psvtip  <set view transformation input priority>
  117: psedm   <set edit mode>
  127: pdsn    <delete structure network>
  140: pscnrs  <set conflict resolution>
  145: prepan  <retrieve paths to ancestors>
  146: prepde  <retrieve paths to descendants>
  158: pinch3  <initialize choice 3>
  159: pinch   <initialize choice>
  160: pinpk3  <initialize pick 3>
  161: pinpk   <initialize pick>
  164: pslcm   <set locator mode>
  165: psskm   <set stroke mode>
  166: psvlm   <set valuator mode>
  167: pschm   <set choice mode>
  168: pspkm   <set pick mode>
  169: psstm   <set string mode>
  187: pflush  <flush device events>
  318: pserhm  <set error handling mode>
 
  Data Structures ---
 



PROGRAM 1: Function of <Set error handler>

You may inspect either the design or code for this program.


PROGRAM 2: First call <set error handler>

You may inspect either the design or code for this program.


PROGRAM 3: Error 2202 handled by user

You may inspect either the design or code for this program.

End of documentation for 09.01.11.01