You are here

function WSClientException::__construct in Web service client 7

Parameters

$msg: The exception message containing placeholder as t().

$args: Replacement arguments such as for t().

File

./wsclient.inc, line 251
Web service client - include file.

Class

WSClientException
Custom exception class to enhance default PHP exceptions.

Code

function __construct($msg, $args = array()) {
  $message = t($msg, $args);
  parent::__construct($message);
}