Files
luos/workflow/engine/classes/ApplicationAppDataUnserializeException.php
Paula Quispe bf3671a594 HOR-3670
2017-08-11 15:49:19 -04:00

25 lines
562 B
PHP

<?php
/**
* Invalid search text for Solr exception
*/
/**
* Application APP_DATA could not be unserialized exception
*/
class ApplicationAppDataUnserializeException extends Exception
{
// Redefine the exception so message isn't optional
public function __construct($message, $code = 0)
{
// some code
// make sure everything is assigned properly
parent::__construct ($message, $code);
}
// custom string representation of object
public function __toString()
{
return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
}
}