class_EncryptInvalidLengthException.php
Go to the documentation of this file.00001 <?php
00024 class EncryptInvalidLengthException extends FrameworkException {
00032 public function __construct(Filterable $filterInstance, $code) {
00033
00034 $length = $filterInstance->getConfigInstance()->readConfig('captcha_string_length');
00035
00036
00037 $message = sprintf("[%s:%d] Encrypt string has an invalid length. Valid: %d",
00038 $filterInstance->__toString(),
00039 $this->getLine(),
00040 $length
00041 );
00042
00043
00044 $this->setExtraData($filterInstance->__toString().":".$length);
00045
00046
00047 parent::__construct($message, $code);
00048 }
00049 }
00050
00051
00052 ?>