public function __construct($message, $error_code, $extraParams = array(),Exception $previous = null) {
parent::__construct(ts($message));
$this->extraParams = $extraParams + array('error_code' => $error_code);
}
// custom string representation of object
public function __construct($message, $error_code, $extraParams = array(),Exception $previous = null) {
parent::__construct(ts($message));
$this->extraParams = $extraParams + array('error_code' => $error_code);
}
// custom string representation of object