__construct()
__construct(mixed $message, mixed $code) : void
Constructor: initialize the BaiduException instance.
Parameters
mixed | $message | |
mixed | $code |
<?php
/***************************************************************************
*
* Copyright (c) 2012 Baidu.com, Inc. All Rights Reserved
*
**************************************************************************/
/**
* @package Baidu
* @author zhujianting(zhujianting@baidu.com)
* @version v1.0.0
*/
class BaiduException extends Exception
{
/**
* Constructor: initialize the BaiduException instance.
*
* @return void
*/
public function __construct($message, $code = 0)
{
parent::__constructor($message, $code);
}
}
/* vim: set expandtab ts=4 sw=4 sts=4 tw=100: */