From: Mike G. v. a. <we...@ma...> - 2009-01-25 22:21:26
|
Log Message: ----------- Moving exception catching to DB.pm from Schema.pm Modified Files: -------------- webwork2/lib/WeBWorK/DB: Schema.pm Revision Data ------------- Index: Schema.pm =================================================================== RCS file: /webwork/cvs/system/webwork2/lib/WeBWorK/DB/Schema.pm,v retrieving revision 1.13 retrieving revision 1.14 diff -Llib/WeBWorK/DB/Schema.pm -Llib/WeBWorK/DB/Schema.pm -u -r1.13 -r1.14 --- lib/WeBWorK/DB/Schema.pm +++ lib/WeBWorK/DB/Schema.pm @@ -50,17 +50,17 @@ use strict; use warnings; -use Exception::Class ( - 'WeBWorK::DB::Schema::Ex' => {}, - 'WeBWorK::DB::Schema::Ex::RecordExists' => { - isa => 'WeBWorK::DB::Schema::Ex', - description => "Record exists", - }, - 'WeBWorK::DB::Schema::Ex::TableMissing' => { - isa => 'WeBWorK::DB::Schema::Ex', - description =>"missing table", - }, -); +# use Exception::Class ( +# 'WeBWorK::DB::Schema::Ex' => {}, +# 'WeBWorK::DB::Schema::Ex::RecordExists' => { +# isa => 'WeBWorK::DB::Schema::Ex', +# description => "Record exists", +# }, +# 'WeBWorK::DB::Schema::Ex::TableMissing' => { +# isa => 'WeBWorK::DB::Schema::Ex', +# description =>"missing table", +# }, +# ); ################################################################################ # constructor |