| AEAE documentation | Contained in the AEAE distribution. |
AEAE::CommandErroneous - A command used when an error occur at launching another command.
Returns a new instance ...
Dies with the given error message.
| AEAE documentation | Contained in the AEAE distribution. |
package AEAE::CommandErroneous ; use Carp ; use base qw/AEAE::Command/ ; use strict ;
sub new{ my ($class) = shift ; my $self = $class->SUPER::new(@_); bless $self, $class ; return $self ; }
sub _doItReal{ my ($self, $errorMessage) = @_ ; die $errorMessage ; } 1;