Marcel Grünauer > Error-Hierarchy-1.103530 > Error::Hierarchy::Internal::AbstractMethod

Download:
Error-Hierarchy-1.103530.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.103530   Source  

NAME ^

Error::Hierarchy::Internal::AbstractMethod - Exception for unimplemented methods

VERSION ^

version 1.103530

SYNOPSIS ^

  # the following all do the same:

  sub not_there_yet {
      Error::Hierarchy::Internal::AbstractMethod->throw;
  }

  # or:

  sub not_there_yet_either {
      Error::Hierarchy::Internal::AbstractMethod->
          throw(method => 'not_there_yet_either');
  }

  # or:

  use base 'Class::Accessor::Complex';
  __PACKAGE__->mk_abstract_accessors(qw(not_there_yet));

DESCRIPTION ^

This class implements an exception that is meant to be thrown when an unimplemented method is called.

METHODS ^

method

Name of the unimplemented method. If it is not given, then the name of the method that has thrown this exception is taken from the call stack.

init

Initializes a newly constructed exception object.

PROPERTIES ^

This exception class inherits all properties of Error::Hierarchy::Internal.

Additionally it defines the method property.

INSTALLATION ^

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS ^

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Error-Hierarchy.

AVAILABILITY ^

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Error-Hierarchy/.

The development version lives at http://github.com/hanekomu/Error-Hierarchy and may be cloned from git://github.com/hanekomu/Error-Hierarchy. Instead of sending patches, please fork this project using the standard git and github infrastructure.

AUTHOR ^

Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2004 by Marcel Gruenauer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: