You are here

class WSClientException in Web service client 7

Custom exception class to enhance default PHP exceptions.

Hierarchy

Expanded class hierarchy of WSClientException

File

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

View source
class WSClientException extends Exception {

  /**
   * @param $msg
   *   The exception message containing placeholder as t().
   * @param $args
   *   Replacement arguments such as for t().
   */
  function __construct($msg, $args = array()) {
    $message = t($msg, $args);
    parent::__construct($message);
  }

}

Members