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


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

namespace Smartswitch
{
    global $Smartswitch__t_DuplicateException;
    class DuplicateException extends \Smartswitch\GenericException
    {
        public function __construct($description='', $solution='', $key=null)
        {
            parent::__construct($description, $solution);
            $this->key = $key;
        }

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

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

        public $key;
    }
    global $Smartswitch__t_StringSequence;

    $Smartswitch__t_DuplicateException = IcePHP_defineException('::Smartswitch::DuplicateException', '\\Smartswitch\\DuplicateException', false, $Smartswitch__t_GenericException, array(
        array('key', $Smartswitch__t_StringSequence, false, 0)));
}
?>
