60 if (!in_array(
$code, $ptCodes)) {
62 'Invalid code ' .
$code 63 .
' passed. Must be one of PHPCAS_SERVICE_PT_FAILURE, PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE, or PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE.'
__construct($message, $code=PHPCAS_SERVICE_PT_FAILURE)
Constructor.
const PHPCAS_SERVICE_PT_FAILURE
phpCAS::service() error code when the PT could not retrieve because the CAS server did not want to...
catch(Exception $e) $message
const PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE
phpCAS::service() error code when the PT could not retrieve because the CAS server did not respond...
const PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE
phpCAS::service() error code when the PT could not retrieve because the response of the CAS server wa...
An Exception for errors related to fetching or validating proxy tickets.
A root exception interface for all exceptions in phpCAS.