package Catalyst::Exception;
-# XXX: See bottom of file for Exception implementation
+use strict;
+use vars qw[@ISA $CATALYST_EXCEPTION_CLASS];
+
+BEGIN {
+ push( @ISA, $CATALYST_EXCEPTION_CLASS || 'Catalyst::Exception::Base' );
+}
package Catalyst::Exception::Base;
-use Moose;
+use strict;
use Carp ();
=head1 NAME
Carp::croak($message);
}
-=head2 meta
-
-Provided by Moose
-
=head1 AUTHOR
Sebastian Riedel, C<sri@cpan.org>
=cut
-package Catalyst::Exception;
-
-use Moose;
-use vars qw[$CATALYST_EXCEPTION_CLASS];
-
-BEGIN {
- extends($CATALYST_EXCEPTION_CLASS || 'Catalyst::Exception::Base');
-}
-
1;