POE::Exceptions 0.0502
Sponsored Links
POE::Exceptions 0.0502 Ranking & Summary
File size:
0.010 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
883
Date added:
2007-05-24
Publisher:
Matt Cashner
POE::Exceptions 0.0502 description
POE::Exceptions is a POE class for handling exceptions.
SYNOPSIS
use POE::Exceptions;
POE::Session::Exception->create(
inline_states => {
_start => sub { print START;
$_[KERNEL]->sig(DIE,death_handled);
},
death_handled => sub { print EXCEPTION CAUGHT
$_[KERNEL]->sig_handled();
},
_stop => { print END }
}
);
$poe_kernel->run();
DEPRECATION
This module is deprecated as its functionality has been rolled into the POE core, as of POE 0.33. This module will receive no updates and will be removed from CPAN at some point in the near future.
DISCUSSION
POE::Exceptions extends POE to catch exceptions neatly. A new signal, DIE, is introduced. This signal will be fired every time an exception occurs. (For those of you new to the term exception, an exception is whenever the code decides to bail out by dieing.) If the signal handler returns 1 (as in the example above), POE will assume that the handler dealt with the signal appropriately. If the signal handler returns 0, POE will assume that the handler does not want to deal with the signal and POE will propgate the exception as if the handler never existed.
Caveat: POE::Exceptions will die on its own in the case of a double exception fault. If the DIE signal handler itself throws an exception, POE::Exceptions will shut the program down and bail out.
SYNOPSIS
use POE::Exceptions;
POE::Session::Exception->create(
inline_states => {
_start => sub { print START;
$_[KERNEL]->sig(DIE,death_handled);
},
death_handled => sub { print EXCEPTION CAUGHT
$_[KERNEL]->sig_handled();
},
_stop => { print END }
}
);
$poe_kernel->run();
DEPRECATION
This module is deprecated as its functionality has been rolled into the POE core, as of POE 0.33. This module will receive no updates and will be removed from CPAN at some point in the near future.
DISCUSSION
POE::Exceptions extends POE to catch exceptions neatly. A new signal, DIE, is introduced. This signal will be fired every time an exception occurs. (For those of you new to the term exception, an exception is whenever the code decides to bail out by dieing.) If the signal handler returns 1 (as in the example above), POE will assume that the handler dealt with the signal appropriately. If the signal handler returns 0, POE will assume that the handler does not want to deal with the signal and POE will propgate the exception as if the handler never existed.
Caveat: POE::Exceptions will die on its own in the case of a double exception fault. If the DIE signal handler itself throws an exception, POE::Exceptions will shut the program down and bail out.
POE::Exceptions 0.0502 Screenshot
POE::Exceptions 0.0502 Keywords
POE
Exceptions 0.0502
Handling Exceptions
signal
exception
handler
exceptions
class
handling
POE::Exceptions
POEExceptions
POE::Exceptions 0.0502
Libraries
Programming
Bookmark POE::Exceptions 0.0502
POE::Exceptions 0.0502 Copyright
WareSeeker periodically updates pricing and software information of POE::Exceptions 0.0502 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of POE::Exceptions 0.0502 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
exception processing message
signal stat
exceptional customer service
handling exceptions in c#
federal signal
council for exceptional children
pinnacle golf balls exception clearance
signal newspaper
exceptional innovation
handling exceptions in java
exceptional
signals
signal item
exceptional parents unlimited
signals catalog
exception processing message c0000013
machine check exception error code 0000009c
c++ handling exceptions
Related Software
Exception::Base is a Perl module with lightweight exceptions. Free Download
Test::Exception is a Perl module to test exception based code. Free Download
Exception::System is the exception class for system or library calls. Free Download
Exception::Class is a Perl module that allows you to declare real exception classes in Perl. Free Download
Fatal::Exception - succeed or throw exception. Free Download
Exception::Class::TCF is a Java/C++ style exception handling. Free Download
cexcept (pronounced see except in English) is a package providing a Try/Catch/Throw exception handling interface for ANSI C. Free Download
Java::JCR::Exception is a Perl wrapper for repository exceptions. Free Download
Latest Software
Popular Software
Favourite Software