1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6: */
7:
8: namespace Nette\DI;
9:
10: use Nette;
11:
12:
13: /**
14: * Service not found exception.
15: */
16: class MissingServiceException extends Nette\InvalidStateException
17: {
18: }
19:
20:
21: /**
22: * Service creation exception.
23: */
24: class ServiceCreationException extends Nette\InvalidStateException
25: {
26: public function setMessage($message)
27: {
28: $this->message = $message;
29: return $this;
30: }
31: }
32: