| 1 | #!perl | ||
| 2 | |||
| 3 | # ########################################################################## # | ||
| 4 | # Title: Exception thrown by row value validator | ||
| 5 | # Creation date: 2008-04-16 | ||
| 6 | # Author: Michael Zedeler | ||
| 7 | # Description: Processing Exception. | ||
| 8 | # File: $Source: /data/cvs/lib/DSlib/lib/DS/Exception/Processing/Validator.pm,v $ | ||
| 9 | # Repository: kronhjorten | ||
| 10 | # State: $State: Exp $ | ||
| 11 | # Documentation: inline | ||
| 12 | # Recepient: - | ||
| 13 | # ########################################################################## # | ||
| 14 | |||
| 15 | package DS::Exception::Processing::Validator; | ||
| 16 | |||
| 17 | use DS::Exception::Processing; | ||
| 18 | |||
| 19 | use Exception::Class ( | ||
| 20 | 'DS::Exception::Processing::Validator' => { | ||
| 21 | isa => 'DS::Exception::Processing', | ||
| 22 | fields => [ 'field', 'regex', 'validator' ] | ||
| 23 | } | ||
| 24 | ); | ||
| 25 | |||
| 26 | our ($VERSION) = $DS::VERSION; | ||
| 27 | our ($REVISION) = '$Revision: 1.1 $' =~ /(\d+\.\d+)/; | ||
| 28 | |||
| 29 | 1; |