1 | <?php |
||
16 | class ORMException extends Exception |
||
17 | { |
||
18 | /** |
||
19 | * @param string $field |
||
20 | * |
||
21 | * @return ORMException |
||
22 | */ |
||
23 | public static function unrecognizedField($field) |
||
27 | |||
28 | /** |
||
29 | * |
||
30 | * @param string $class |
||
31 | * @param string $association |
||
32 | * @param string $given |
||
33 | * @param string $expected |
||
34 | * |
||
35 | * @return \Doctrine\ORM\ORMInvalidArgumentException |
||
36 | */ |
||
37 | public static function unexpectedAssociationValue($class, $association, $given, $expected) |
||
41 | |||
42 | /** |
||
43 | * @param string $className |
||
44 | * @param string $field |
||
45 | * |
||
46 | * @return ORMException |
||
47 | 2 | */ |
|
48 | public static function invalidOrientation($className, $field) |
||
52 | |||
53 | /** |
||
54 | * @return ORMException |
||
55 | */ |
||
56 | public static function entityManagerClosed() |
||
60 | |||
61 | /** |
||
62 | * @param string $mode |
||
63 | * |
||
64 | * @return ORMException |
||
65 | */ |
||
66 | public static function invalidHydrationMode($mode) |
||
70 | |||
71 | /** |
||
72 | * @return ORMException |
||
73 | */ |
||
74 | public static function mismatchedEventManager() |
||
78 | |||
79 | /** |
||
80 | * @return ORMException |
||
81 | */ |
||
82 | public static function invalidResultCacheDriver() |
||
86 | |||
87 | 1 | /** |
|
88 | 1 | * @return ORMException |
|
89 | 1 | */ |
|
90 | 1 | public static function notSupported() |
|
94 | |||
95 | /** |
||
96 | * @return ORMException |
||
97 | */ |
||
98 | public static function queryCacheNotConfigured() |
||
102 | |||
103 | /** |
||
104 | * @return ORMException |
||
105 | */ |
||
106 | public static function metadataCacheNotConfigured() |
||
110 | |||
111 | /** |
||
112 | * @param \Doctrine\Common\Cache\Cache $cache |
||
113 | * |
||
114 | * @return ORMException |
||
115 | */ |
||
116 | public static function queryCacheUsesNonPersistentCache(CacheDriver $cache) |
||
120 | |||
121 | /** |
||
122 | * @param \Doctrine\Common\Cache\Cache $cache |
||
123 | * |
||
124 | 1 | * @return ORMException |
|
125 | */ |
||
126 | 1 | public static function metadataCacheUsesNonPersistentCache(CacheDriver $cache) |
|
130 | |||
131 | /** |
||
132 | * @param string $entityNamespaceAlias |
||
133 | * |
||
134 | * @return ORMException |
||
135 | */ |
||
136 | public static function unknownEntityNamespace($entityNamespaceAlias) |
||
142 | 5 | ||
143 | /** |
||
144 | 5 | * @param string $className |
|
145 | * @param string $fieldName |
||
146 | * |
||
147 | * @return ORMException |
||
148 | */ |
||
149 | public static function missingIdentifierField($className, $fieldName) |
||
153 | |||
154 | /** |
||
155 | * @param string $className |
||
156 | * @param string[] $fieldNames |
||
157 | * |
||
158 | * @return ORMException |
||
159 | */ |
||
160 | public static function unrecognizedIdentifierFields($className, $fieldNames) |
||
167 | |||
168 | /** |
||
169 | * @return ORMException |
||
170 | 1 | */ |
|
171 | public static function cantUseInOperatorOnCompositeKeys() |
||
175 | } |
||
176 |