Dave Rolsky > Fey-0.17 > Fey::Exceptions

Download:
Fey-0.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source   Latest Release: Fey-0.34

NAME ^

Fey::Exceptions - Defines exceptions used in the core Fey classes

SYNOPSIS ^

  use Fey::Exceptions qw( param_error );

DESCRIPTION ^

This module defines the exceptions which are used by the core Fey classes.

EXCEPTIONS ^

Loading this module defines the exception classes using Exception::Class. This module also exports subroutines which can be used as a shorthand to throw a specific type of exception.

Fey::Exception

This is the base class for other exception classes, and should not be used directly.

Fey::Exception::ObjectState

object_state_error()

This exception indicates that the object is in a state that means it cannot execute a certain method.

Fey::Exception::Params

param_error()

This exception indicates that there was a problem with the parameters passed to a method.

Fey::Exception::VirtualMethod

virtual_method_error()

This exception indicates that a virtual method was not overridden in the subclass on which it was called.

AUTHOR ^

Dave Rolsky, <autarch@urth.org>

BUGS ^

See Fey for details on how to report bugs.

COPYRIGHT & LICENSE ^

Copyright 2006-2008 Dave Rolsky, All Rights Reserved.

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