- BUGS AND LIMITATIONS
- COPYRIGHT AND LICENSE
Error::Hierarchy::Internal::Class - When you got an object of a wrong class
my $got_object = get_some_object(); Error::Hierarchy::Internal::Class->throw( class_expected => 'Some::Class', class_got => ref($got_object), );
This class implements an exception that is meant to be thrown when you expected an object of a certain class somewhere but got an object of a different class instead.
The class name that you expected.
The class name of the object you actually got.
This exception class inherits all properties of Error::Hierarchy::Internal.
Additionally it defines the
class_expected and the
See perlmodinstall for information and options on installing Perl modules.
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.
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.
Marcel Gruenauer <firstname.lastname@example.org>
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.