You are here

function ErrorCacheControlClient::clear_url in Akamai 8

Same name and namespace in other branches
  1. 8.2 akamai.class.inc \ErrorCacheControlClient::clear_url()
  2. 6.2 akamai.class.inc \ErrorCacheControlClient::clear_url()
  3. 7.3 akamai.class.inc \ErrorCacheControlClient::clear_url()
  4. 7 akamai.class.inc \ErrorCacheControlClient::clear_url()
  5. 7.2 akamai.class.inc \ErrorCacheControlClient::clear_url()

Records the paths passed in.

Overrides AkamaiCacheControl::clear_url

File

./akamai.class.inc, line 212
akamai.class.inc Akamai is a registered trademark of Akamai Technologies, Inc. This class is an abstraction around the Akamai Cache Control API.

Class

ErrorCacheControlClient
Implementation of the AkamaiCacheControl interface that throws Exceptions. Hint: This is only useful for testing.

Code

function clear_url($paths) {
  throw new Exception(t('Akamai Failure Condition Test'));
}