Overview
Namespaces
Classes
Exceptions
1: <?php
2:
3: /**
4: * XSLT Benchmarking
5: * @link https://github.com/masicek/XSLT-Benchmarking
6: * @author Viktor Mašíček <viktor@masicek.net>
7: * @license "New" BSD License
8: */
9:
10: namespace XSLTBenchmarking;
11:
12: /**
13: * List of exceptions used in XSLT Benchmarking.
14: *
15: * @author Viktor Mašíček <viktor@masicek.net>
16: */
17:
18:
19: /**
20: * Own parent of all exceptions
21: */
22: class Exception extends \Exception
23: {
24: }
25:
26: /**
27: * Exceptions made by wrong calling method.
28: */
29: class InvalidArgumentException extends Exception
30: {
31: }
32:
33:
34: /**
35: * Exception generated after incorect copping file by 'copy' function
36: */
37: class GenerateTemplateException extends Exception
38: {
39: }
40:
41:
42: /**
43: * Exception generated by incorect generating XML file in XmlGeneratorDriver
44: */
45: class GenerateXmlException extends Exception
46: {
47: }
48:
49:
50: /**
51: * Exception generated if unknown method is called in __call
52: */
53: class UnknownMethodException extends Exception
54: {
55: }
56:
57:
58: /**
59: * Colision of setting of objects
60: */
61: class CollisionException extends Exception
62: {
63: }
64:
65:
66: /**
67: * State of objects or scripts are invalide
68: */
69: class InvalidStateException extends Exception
70: {
71: }
72:
73: /**
74: * Loop have to many iteratins
75: */
76: class LongLoopException extends Exception
77: {
78: }
79: