Markus Winand > ResourcePool > ResourcePool::Command::NoFailoverException

Download:
ResourcePool-1.0106.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.0106   Source  

NAME ^

ResourcePool::Command::NoFailoverException - An Exception for ResourcePool commands which doesn't cause fail over.

SYNOPSIS ^

 use ResourcePool::Command::NoFailoverException;
 
 my $ex = ResourcePool::Command::NoFailoverException->new($rootException);

DESCRIPTION ^

This exception can be thrown by commands to indicate a logical failure of the execution. If the execution environment fetches an NoFailoverException it directly propagates it to it's caller without any retry or fail over.

ResourcePool::Command::NoFailoverException->new

Takes the original exception which cause the failure. This exception is accessible to the client using the rootException() method.

$ex->rootException

This method returns the exception which cause the execute to fail.

AUTHOR ^

    Copyright (C) 2001-2009 by Markus Winand <mws@fatalmind.com>

    This program is free software; you can redistribute it and/or
    modify it under the same terms as Perl itself.
syntax highlighting: