phpCAS  version 1.4.0
Public Member Functions | List of all members
CAS_TypeMismatchException Class Reference
Inheritance diagram for CAS_TypeMismatchException:
CAS_InvalidArgumentException CAS_Exception

Public Member Functions

 __construct ( $argument, $argumentName, $type, $message='', $code=0)
 

Detailed Description

Definition at line 40 of file TypeMismatchException.php.

Constructor & Destructor Documentation

◆ __construct()

CAS_TypeMismatchException::__construct (   $argument,
  $argumentName,
  $type,
  $message = '',
  $code = 0 
)

Constructor, provides a nice message.

Parameters
mixed$argumentArgument
string$argumentNameArgument Name
string$typeType
string$messageError Message
integer$codeCode
Returns
void

Definition at line 54 of file TypeMismatchException.php.