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


namespace Smartswitch
{
    global $Smartswitch__t_GenericException;
    class GenericException extends \Ice\UserException
    {
        public function __construct($description='', $solution='')
        {
            $this->description = $description;
            $this->solution = $solution;
        }

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

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

        public $description;
        public $solution;
    }
    global $IcePHP__t_string;

    $Smartswitch__t_GenericException = IcePHP_defineException('::Smartswitch::GenericException', '\\Smartswitch\\GenericException', false, null, array(
        array('description', $IcePHP__t_string, false, 0),
        array('solution', $IcePHP__t_string, false, 0)));
}
?>
