1 | <?php |
||
16 | class ORMException extends Exception |
||
17 | { |
||
18 | /** |
||
19 | * @return ORMException |
||
20 | */ |
||
21 | public static function missingMappingDriverImpl() |
||
26 | |||
27 | /** |
||
28 | * @param string $queryName |
||
29 | * |
||
30 | * @return ORMException |
||
31 | */ |
||
32 | public static function namedQueryNotFound($queryName) |
||
36 | |||
37 | /** |
||
38 | * @param string $nativeQueryName |
||
39 | * |
||
40 | * @return ORMException |
||
41 | */ |
||
42 | public static function namedNativeQueryNotFound($nativeQueryName) |
||
46 | |||
47 | 2 | /** |
|
48 | * @param string $field |
||
49 | 2 | * |
|
50 | * @return ORMException |
||
51 | */ |
||
52 | public static function unrecognizedField($field) |
||
56 | |||
57 | /** |
||
58 | * |
||
59 | * @param string $class |
||
60 | * @param string $association |
||
61 | * @param string $given |
||
62 | * @param string $expected |
||
63 | * |
||
64 | * @return \Doctrine\ORM\ORMInvalidArgumentException |
||
65 | */ |
||
66 | public static function unexpectedAssociationValue($class, $association, $given, $expected) |
||
70 | |||
71 | /** |
||
72 | * @param string $className |
||
73 | * @param string $field |
||
74 | * |
||
75 | * @return ORMException |
||
76 | */ |
||
77 | public static function invalidOrientation($className, $field) |
||
81 | |||
82 | /** |
||
83 | * @return ORMException |
||
84 | */ |
||
85 | 1 | public static function entityManagerClosed() |
|
89 | 1 | ||
90 | 1 | /** |
|
91 | * @param string $mode |
||
92 | * |
||
93 | * @return ORMException |
||
94 | */ |
||
95 | public static function invalidHydrationMode($mode) |
||
99 | 3 | ||
100 | /** |
||
101 | 3 | * @return ORMException |
|
102 | */ |
||
103 | public static function mismatchedEventManager() |
||
107 | |||
108 | /** |
||
109 | * @param string $methodName |
||
110 | * |
||
111 | * @return ORMException |
||
112 | */ |
||
113 | public static function findByRequiresParameter($methodName) |
||
117 | |||
118 | /** |
||
119 | * @return ORMException |
||
120 | */ |
||
121 | public static function invalidResultCacheDriver() |
||
125 | |||
126 | 1 | /** |
|
127 | * @return ORMException |
||
128 | */ |
||
129 | public static function notSupported() |
||
133 | |||
134 | /** |
||
135 | * @return ORMException |
||
136 | */ |
||
137 | public static function queryCacheNotConfigured() |
||
141 | |||
142 | 5 | /** |
|
143 | * @return ORMException |
||
144 | 5 | */ |
|
145 | public static function metadataCacheNotConfigured() |
||
149 | |||
150 | /** |
||
151 | * @param \Doctrine\Common\Cache\Cache $cache |
||
152 | * |
||
153 | * @return ORMException |
||
154 | */ |
||
155 | public static function queryCacheUsesNonPersistentCache(CacheDriver $cache) |
||
159 | |||
160 | /** |
||
161 | * @param \Doctrine\Common\Cache\Cache $cache |
||
162 | * |
||
163 | * @return ORMException |
||
164 | */ |
||
165 | public static function metadataCacheUsesNonPersistentCache(CacheDriver $cache) |
||
169 | |||
170 | 1 | /** |
|
171 | * @return ORMException |
||
172 | 1 | */ |
|
173 | public static function proxyClassesAlwaysRegenerating() |
||
177 | |||
178 | /** |
||
179 | * @param string $entityNamespaceAlias |
||
180 | * |
||
181 | * @return ORMException |
||
182 | 1 | */ |
|
183 | public static function unknownEntityNamespace($entityNamespaceAlias) |
||
189 | |||
190 | /** |
||
191 | * @param string $className |
||
192 | * |
||
193 | * @return ORMException |
||
194 | */ |
||
195 | public static function invalidEntityRepository($className) |
||
199 | 2 | ||
200 | 2 | /** |
|
201 | * @param string $className |
||
202 | * @param string $fieldName |
||
203 | * |
||
204 | * @return ORMException |
||
205 | */ |
||
206 | public static function missingIdentifierField($className, $fieldName) |
||
210 | |||
211 | /** |
||
212 | * @param string $className |
||
213 | * @param string[] $fieldNames |
||
214 | * |
||
215 | * @return ORMException |
||
216 | */ |
||
217 | public static function unrecognizedIdentifierFields($className, $fieldNames) |
||
224 | |||
225 | 1 | /** |
|
226 | * @return ORMException |
||
227 | */ |
||
228 | public static function cantUseInOperatorOnCompositeKeys() |
||
232 | } |
||
233 |