class TextimageImagerTokenException in Textimage 7.3
Exception thrown by TextimageImager on token processing failure.
Hierarchy
- class \TextimageImagerTokenException extends \Exception
Expanded class hierarchy of TextimageImagerTokenException
File
- classes/
TextimageImager.inc, line 521 - Textimage - Image processor class.
View source
class TextimageImagerTokenException extends Exception {
/**
* The failing token.
*
* @var string
*/
protected $token;
/**
* Constructs a TextimageImagerTokenException object.
*/
public function __construct($token) {
parent::__construct(t("Textimage token @token could not be resolved.", array(
'@token' => $token,
)), 0);
$this->token = $token;
}
/**
* Gets failing token.
*/
public function getToken() {
return $this->token;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TextimageImagerTokenException:: |
protected | property | The failing token. | |
TextimageImagerTokenException:: |
public | function | Gets failing token. | |
TextimageImagerTokenException:: |
public | function | Constructs a TextimageImagerTokenException object. |