public function processGetState(Identifier $identifier) { if ($this->bool) { throw new \Exception('processing setstate exception'); } else { throw new Exception('processing setstate exception', 345); } }