| 1 | #!perl | ||
| 2 | |||
| 3 | # ########################################################################## # | ||
| 4 | # Title: Exception | ||
| 5 | # Creation date: 2007-03-05 | ||
| 6 | # Author: Michael Zedeler | ||
| 7 | # Description: Abstract super class of DS generated exceptions | ||
| 8 | # Data Stream class | ||
| 9 | # File: $Source: /data/cvs/lib/DSlib/lib/DS/Exception.pm,v $ | ||
| 10 | # Repository: kronhjorten | ||
| 11 | # State: $State: Exp $ | ||
| 12 | # Documentation: inline | ||
| 13 | # Recepient: - | ||
| 14 | # #TODO Importers should not by default be constructed with an explicit typespec, since this may be derived from the data source | ||
| 15 | # ########################################################################## # | ||
| 16 | |||
| 17 | package DS::Exception; | ||
| 18 | |||
| 19 | # Somewhat equivalent to use base qw{ Class::Exception } | ||
| 20 | use Exception::Class ( 'DS::Exception' ); | ||
| 21 | |||
| 22 | our ($VERSION) = $DS::VERSION; | ||
| 23 | our ($REVISION) = '$Revision: 1.1 $' =~ /(\d+\.\d+)/; | ||
| 24 | |||
| 25 | 1; |