Class CloudwordsApiException

Description

Exception thrown when a call to the Cloudwords API returns an exception.

Located in /cloudwords_api.php (line 334)

Exception
   |
   --CloudwordsApiException
Class Constant Summary
 API_EXCEPTION = 'api_exception'
 DEPENDENCY_EXCEPTION = 'dependency_exception'
 REQUEST_EXCEPTION = 'request_exception'
 UNSUPPORTED_CONTENT_TYPE_EXCEPTION = 'unsupported_content_type_exception'
Method Summary
CloudwordsApiException __construct ( $exception_type,  $params)
void getContentType ()
void getErrorMessage ()
void getRequestType ()
void getRequestUrl ()
void __toString ()
Variables

Inherited Variables

Inherited from Exception (Internal Class)

$code
$file
$line
$message
$previous
$string
$trace
Methods
Constructor __construct (line 353)
  • access: public
CloudwordsApiException __construct ( $exception_type,  $params)
  • $exception_type
  • $params

Redefinition of:
Exception::constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getContentType (line 389)
  • access: public
void getContentType ()
getErrorMessage (line 385)
  • access: public
void getErrorMessage ()
getExceptionType (line 369)
  • access: public
void getExceptionType ()
getHttpStatusCode (line 373)
  • access: public
void getHttpStatusCode ()
getRequestType (line 377)
  • access: public
void getRequestType ()
getRequestUrl (line 381)
  • access: public
void getRequestUrl ()
__toString (line 393)
  • access: public
void __toString ()

Redefinition of:
Exception::__toString ( )

Inherited Methods

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
Class Constants
API_EXCEPTION = 'api_exception' (line 336)
DEPENDENCY_EXCEPTION = 'dependency_exception' (line 339)
REQUEST_EXCEPTION = 'request_exception' (line 338)
UNSUPPORTED_CONTENT_TYPE_EXCEPTION = 'unsupported_content_type_exception' (line 337)

Documentation generated on Fri, 05 Aug 2011 11:54:18 -0700 by phpDocumentor 1.4.3