Author: allison Date: Wed Jan 3 01:44:16 2007 New Revision: 16397 Modified: trunk/docs/pdds/pdd22_io.pod
Log: [pdd]: Add exception throwing to the API of the async I/O status object. Modified: trunk/docs/pdds/pdd22_io.pod ============================================================================== --- trunk/docs/pdds/pdd22_io.pod (original) +++ trunk/docs/pdds/pdd22_io.pod Wed Jan 3 01:44:16 2007 @@ -260,6 +260,13 @@ Returns a boolean status for the status object, C<true> for successful completion or successful work in progress, C<false> for an error. +=item return + + $P0 = $P1.return() + +Retrieves the return value of the asynchronous operation from the status +object. + =item error $P0 = $P1.error() @@ -270,11 +277,11 @@ was no error, or the asynchronous operation is still running, returns a null PMC. -=item return +=item throw - $P0 = $P1.return() + $P0 = $P1.throw() -Retrieves the return value of the asynchronous operation from the status +Throw an exception from the status object if it contains an error object. =back