Sha256: 682ae97b74421d4b2b945e87a117c4cc09b39401747c9162cd649929c95b3133
Contents?: true
Size: 489 Bytes
Versions: 15
Compression:
Stored size: 489 Bytes
Contents
package Javonet::Core::Handler::CommandHandler::CastingHandler; use strict; use warnings FATAL => 'all'; use lib 'lib'; use Moose; use Nice::Try; use aliased 'Javonet::Core::Exception::Exception' => 'Exception'; extends 'Javonet::Core::Handler::CommandHandler::AbstractCommandHandler'; sub new { my $class = shift; my $self = {}; return bless $self, $class; } sub process { die Exception->new("Explicit cast is forbidden in dynamically typed languages"); } no Moose; 1;
Version data entries
15 entries across 12 versions & 1 rubygems