$10 GRAYBYTE WORDPRESS FILE MANAGER $69

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/php54/usr/share/pear/ezc/Archive/exceptions/

HOME
Current File : /opt/alt/php54/usr/share/pear/ezc/Archive/exceptions//value.php
<?php
/**
 * File containing the ezcArchiveValueException class.
 *
 * @package Archive
 * @version 1.4.1
 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved.
 * @license http://ez.no/licenses/new_bsd New BSD License
 */

/**
 * Exception thrown when encountering a wrong archive value.
 *
 * @package Archive
 * @version 1.4.1
 */
class ezcArchiveValueException extends ezcArchiveException
{
    /**
     * Construct an archive exception.
     *
     * If $expectedValue is provided then it will be included in the exception
     * message thrown.
     *
     * @param mixed $value
     * @param mixed $expectedValue
     */
    public function __construct( $value, $expectedValue = null )
    {
        $type = gettype( $value );
        if ( in_array( $type, array( 'array', 'object', 'resource' ) ) )
        {
            $value = serialize( $value );
        }

        $msg = "The value '{$value}' is incorrect.";
        if ( $expectedValue )
        {
            $msg .= " Allowed values are: " . $expectedValue . '.';
        }
        parent::__construct( $msg );
    }
}
?>


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.54 PM
root / root
0755
block_size.php
0.853 KB
18 Dec 2019 11.17 AM
root / root
0644
checksum.php
0.669 KB
18 Dec 2019 11.17 AM
root / root
0644
empty.php
0.559 KB
18 Dec 2019 11.17 AM
root / root
0644
entry_prefix.php
0.736 KB
18 Dec 2019 11.17 AM
root / root
0644
exception.php
0.575 KB
18 Dec 2019 11.17 AM
root / root
0644
internal_exception.php
0.643 KB
18 Dec 2019 11.17 AM
root / root
0644
io.php
0.571 KB
18 Dec 2019 11.17 AM
root / root
0644
unknown_type.php
0.709 KB
18 Dec 2019 11.17 AM
root / root
0644
value.php
1.082 KB
18 Dec 2019 11.17 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF