NAME

Net::SAJAX::Exception::MethodArguments - Exception object for exceptions that occur when bad arguments are provided to a method.

VERSION

This documentation refers to version 0.107

SYNOPSIS

  use Net::SAJAX::Exception::MethodArguments;

  Net::SAJAX::Exception::MethodArguments->throw(
    message => 'This is some error message',
  );

DESCRIPTION

This is an exception class for when a bad argument is provided to a method in the Net::SAJAX library.

INHERITANCE

This class inherits from the base class of Net::SAJAX::Exception and all attributes and methods in that class are also in this class.

ATTRIBUTES

argument

Required. This is a string that contains the name of the argument that contained a bad value.

argument_value

This is the bad value the argument had. This can be any type. Use "has_argument_value" to determine if the argument value is present.

has_argument_value

Whether or not the "argument_value" has been specified.

method

required

This is a string that contains the name of the method that was called and the the error occurred in.

METHODS

This class does not contain any methods.

DEPENDENCIES

AUTHOR

Douglas Christopher Wilson, <doug at somethingdoug.com>

BUGS AND LIMITATIONS

Please report any bugs or feature requests to bug-net-sajax at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-SAJAX. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

I highly encourage the submission of bugs and enhancements to my modules.

LICENSE AND COPYRIGHT

Copyright 2009 Douglas Christopher Wilson.

This program is free software; you can redistribute it and/or modify it under the terms of either:

  • the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or

  • the Artistic License version 2.0.