You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
389 B

package ANTLR::Runtime::Exception;
use Exception::Class;
use Moose;
extends 'Moose::Object', 'Exception::Class::Base';
sub BUILD {
my ($self, $args) = @_;
my %exception_args;
if (exists $args->{message}) {
$exception_args{message} = $args->{message};
}
$self->_initialize(%exception_args);
return;
}
no Moose;
__PACKAGE__->meta->make_immutable();
1;