X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FBase.pm;h=789c6ab9f987b41334456a1761e787f5c9e36946;hp=dd38bea61195066d04cdc42ddc58df76b047fb7e;hb=a2f2cde95194a17fe2401ae58c92b5494bac599f;hpb=ae4e40a7d5968d8086a86bff588a0989f167d5db diff --git a/lib/Catalyst/Base.pm b/lib/Catalyst/Base.pm index dd38bea..789c6ab 100644 --- a/lib/Catalyst/Base.pm +++ b/lib/Catalyst/Base.pm @@ -2,6 +2,8 @@ package Catalyst::Base; use strict; use base qw/Class::Data::Inheritable Class::Accessor::Fast/; + +use Catalyst::Exception; use NEXT; __PACKAGE__->mk_classdata($_) for qw/_attr_cache _action_cache _config/; @@ -104,7 +106,10 @@ sub config { =cut sub process { - die( ( ref $_[0] || $_[0] ) . " did not override Catalyst::Base::process" ); + + Catalyst::Exception->throw( + message => ( ref $_[0] || $_[0] ) . " did not override Catalyst::Base::process" + ); } =item FETCH_CODE_ATTRIBUTES