contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   get-exception-status    
      Other Library Functions  

Library: I/O Exception Object
Include: omioe.xin
Returns: Numeric

Returns a numeric value indicating the current status of the "io-exception" object.

Declaration

  define external counter function get-exception-status
           value io-exception ex


Purpose

This function allows you to retrieve the current status of the "io-exception" opaque object.

Argument:

Example:

  ; Declaring and using an "io-exception" object to capture the error status,
  ; if any, of reading from a UTF-16 encoded file.

  include "ioex.xin"
  process
     local io-exception e
     submit utf16-input-file "widetext.txt" exceptions-to e
     put #error "I/O exception on widetext.txt%n"
         when get-exception-status e != 0
     done

        Other Library Functions
   get-exception-status
   io-exception-text
   new-io-exception
   set-voluntary-end-exception
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:07 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.