NAME

Net::SAJAX::Exception::JavaScriptEvaluation - Exception object for exceptions that occur when evaluating JavaScript.

VERSION

This documentation refers to version 0.107

SYNOPSIS

  use Net::SAJAX::Exception::JavaScriptEvaluation;

  Net::SAJAX::Exception::JavaScriptEvaluation->throw(
    message           => 'This is some error message',
    javascript_error  => $je_error_object,
    javascript_string => $javascript,
  );

DESCRIPTION

This is an exception class for exceptions that occur during evaluation of JavaScript 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

javascript_error

Required. This is a JE::Object::Error object that contains the error that was generated by JE while evaluating a string of JavaScript.

javascript_string

Required. This is a string that contains the JavaScript that was being evaluated when the error occurred.

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.