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


ResourcePool documentation  | view source Contained in the ResourcePool distribution.

Index


NAME

Top

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

SYNOPSIS

Top



 


 use ResourcePool::Command::NoFailoverException;

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

DESCRIPTION

Top

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

Top

    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.

		


ResourcePool documentation  | view source Contained in the ResourcePool distribution.