File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/Exception.php.tar
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-includes/PHPMailer/Exception.php 0000644 00000002330 15153464737 0023412 0 ustar 00 <?php
/**
* PHPMailer Exception class.
* PHP Version 5.5.
*
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
*
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
* @author Brent R. Matzelle (original founder)
* @copyright 2012 - 2020 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
namespace PHPMailer\PHPMailer;
/**
* PHPMailer exception handler.
*
* @author Marcus Bointon <phpmailer@synchromedia.co.uk>
*/
class Exception extends \Exception
{
/**
* Prettify error message output.
*
* @return string
*/
public function errorMessage()
{
return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n";
}
}
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-includes/SimplePie/Exception.php 0000644 00000004150 15153476237 0023520 0 ustar 00 <?php
/**
* SimplePie
*
* A PHP-Based RSS and Atom Feed Framework.
* Takes the hard work out of managing a complete RSS/Atom solution.
*
* Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* * Neither the name of the SimplePie Team nor the names of its contributors may be used
* to endorse or promote products derived from this software without specific prior
* written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS
* AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* @package SimplePie
* @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
* @author Ryan Parman
* @author Sam Sneddon
* @author Ryan McCue
* @link http://simplepie.org/ SimplePie
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
*/
/**
* General SimplePie exception class
*
* @package SimplePie
*/
class SimplePie_Exception extends Exception
{
} var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-includes/Requests/src/Exception.php 0000644 00000002132 15153506013 0024213 0 ustar 00 <?php
/**
* Exception for HTTP requests
*
* @package Requests\Exceptions
*/
namespace WpOrg\Requests;
use Exception as PHPException;
/**
* Exception for HTTP requests
*
* @package Requests\Exceptions
*/
class Exception extends PHPException {
/**
* Type of exception
*
* @var string
*/
protected $type;
/**
* Data associated with the exception
*
* @var mixed
*/
protected $data;
/**
* Create a new exception
*
* @param string $message Exception message
* @param string $type Exception type
* @param mixed $data Associated data
* @param integer $code Exception numerical code, if applicable
*/
public function __construct($message, $type, $data = null, $code = 0) {
parent::__construct($message, $code);
$this->type = $type;
$this->data = $data;
}
/**
* Like {@see \Exception::getCode()}, but a string code.
*
* @codeCoverageIgnore
* @return string
*/
public function getType() {
return $this->type;
}
/**
* Gives any relevant data
*
* @codeCoverageIgnore
* @return mixed
*/
public function getData() {
return $this->data;
}
}
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/optinmonster/OMAPI/Rules/Exception.php 0000644 00000003272 15154303514 0027646 0 ustar 00 <?php
/**
* OMAPI_Rules_Exception class.
*
* @since 1.5.0
*
* @package OMAPI
* @author Justin Sternberg
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Rules exception base class.
*
* @since 1.5.0
*/
class OMAPI_Rules_Exception extends Exception {
/**
* Whether the exception is a boolean.
*
* @var bool
*/
protected $bool = null;
/**
* An array of exceptions.
*
* @var array
*/
protected $exceptions = array();
/**
* Constructor.
*
* @param string $message Exception message.
* @param int $code Exception code.
*
* @param Exception $previous Previous exception.
*/
public function __construct( $message = null, $code = 0, Exception $previous = null ) {
if ( is_bool( $message ) ) {
$this->bool = $message;
$message = null;
}
if ( $previous ) {
$this->add_exceptions( $previous );
}
parent::__construct( $message, $code, $previous );
}
/**
* Get boolean.
*
* @return bool
*/
public function get_bool() {
return $this->bool;
}
/**
* Add exceptions.
*
* @param array|object $exceptions The array exceptions.
*
* @return void
*/
public function add_exceptions( $exceptions ) {
$this->exceptions = array_merge(
$this->exceptions,
is_array( $exceptions ) ? $exceptions : array( $exceptions )
);
}
/**
* Get exceptions.
*
* @return array
*/
public function get_exceptions() {
return (array) $this->exceptions;
}
/**
* Get exception messages.
*
* @return array
*/
public function get_exception_messages() {
$messages = array();
foreach ( $this->get_exceptions() as $e ) {
$messages[] = $e->getMessage();
}
return $messages;
}
}
www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/optinmonster/OMAPI/Shortcodes/Exception.php0000644 00000000451 15154563771 0030623 0 ustar 00 var <?php
/**
* Shortcode exception class.
*
* @since 2.6.9
*
* @package OMAPI
* @author Justin Sternberg
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Shortcode exception class.
*
* @since 2.6.9
*/
class OMAPI_Shortcodes_Exception extends Exception {}