Class Services_Soundcloud_Invalid_Http_Response_Code_Exception - echiong/testRepo GitHub Wiki

##Class Services_Soundcloud_Invalid_Http_Response_Code_Exception

Soundcloud invalid HTTP response code exception.

Package: [[Services<a href="Package Services.Soundcloud.md">Soundcloud]]
Category: Services
Copyright: 2010 Anton Lindqvist <[email protected]>
License: MIT
Author: Anton Lindqvist <[email protected]>
Link: http://github.com/mptre/php-soundcloud
Located at SoundCloud_Services/Soundcloud/Exception.php

##Methods summary


public __construct ( string $message = null, string $code = 0, string $httpBody = null, integer $httpCode = 0 )

Constructor.

Parameters

$message string
$message

$code string
$code

$httpBody string
$httpBody

$httpCode integer
$httpCode

###Overrides Exception::__construct()


public mixed getHttpBody ( )

Get HTTP response body.

Returns mixed


public mixed getHttpCode ( )

Get HTTP response code.

Returns mixed

Methods inherited from Exception

__toString()

getCode()

getFile()

getLine()

getMessage()

getPrevious()

getTrace()

getTraceAsString()

<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="httpBody" id="$httpBody">
	<td class="attributes"><code>
		protected  
		string
	</code></td>

	<td class="name">

$httpBody

#
		<div class="description detailed">

HTTP response body.

		</div>
	</div></td>
</tr>
<tr data-order="httpCode" id="$httpCode">
	<td class="attributes"><code>
		protected  
		integer
	</code></td>

	<td class="name">

$httpCode

#
		<div class="description detailed">

HTTP response code.

		</div>
	</div></td>
</tr>
<tr data-order="message" id="$message">
	<td class="attributes"><code>
		protected  
		string
	</code></td>

	<td class="name">

$message

'The requested URL responded with HTTP code %d.'
#
		<div class="description detailed">

Default message.

		</div>
	</div></td>
</tr>
</table>

<table class="summary inherited">
<caption>Properties inherited from <a href="Class Exception.md#properties">Exception</a></caption>
<tr>
	<td><code>
		<a href="Class Exception.md#$code"><var>$code</var></a>, 
		<a href="Class Exception.md#$file"><var>$file</var></a>, 
		<a href="Class Exception.md#$line"><var>$line</var></a>
	</code></td>
</tr>
</table>
⚠️ **GitHub.com Fallback** ⚠️