File: NntpException.php

package info (click to toggle)
spotweb 20130826%2Bdfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,132 kB
  • ctags: 11,281
  • sloc: php: 31,367; xml: 1,009; sh: 148; makefile: 83
file content (14 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
class NntpException extends CustomException {
	private $_response = '';
	
	public function __construct($detail = null, $code = 0, $response = '') {
		$this->_detail = $detail;
		$this->_code = $code;
		$this->_response = $response;

		parent::__construct($detail . ' [response: "' . $response . '"]', $code);
	} # ctor

	
} # NntpException