<?php
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.2
//
// <auto-generated>
//
// Generated from file `DescendantLimitReachedException.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//


namespace
{
    require_once 'GenericException.php';
    require_once 'Common.php';
}

namespace Smartswitch\Peer
{
    global $Smartswitch_Peer__t_DescendantLimitReachedException;
    class DescendantLimitReachedException extends \Smartswitch\GenericException
    {
        public function __construct($description='', $solution='', $limit=0)
        {
            parent::__construct($description, $solution);
            $this->limit = $limit;
        }

        public function ice_id()
        {
            return '::Smartswitch::Peer::DescendantLimitReachedException';
        }

        public function __toString()
        {
            global $Smartswitch_Peer__t_DescendantLimitReachedException;
            return IcePHP_stringifyException($this, $Smartswitch_Peer__t_DescendantLimitReachedException);
        }

        public $limit;
    }
    global $IcePHP__t_long;

    $Smartswitch_Peer__t_DescendantLimitReachedException = IcePHP_defineException('::Smartswitch::Peer::DescendantLimitReachedException', '\\Smartswitch\\Peer\\DescendantLimitReachedException', false, $Smartswitch__t_GenericException, array(
        array('limit', $IcePHP__t_long, false, 0)));
}
?>
