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 | * @param string $entityName |
||
120 | * @param string $associationFieldName |
||
121 | * |
||
122 | * @return ORMException |
||
123 | */ |
||
124 | 1 | public static function invalidFindByInverseAssociation($entityName, $associationFieldName) |
|
131 | |||
132 | /** |
||
133 | * @return ORMException |
||
134 | */ |
||
135 | public static function invalidResultCacheDriver() |
||
139 | |||
140 | /** |
||
141 | * @return ORMException |
||
142 | 5 | */ |
|
143 | public static function notSupported() |
||
147 | |||
148 | /** |
||
149 | * @return ORMException |
||
150 | */ |
||
151 | public static function queryCacheNotConfigured() |
||
155 | |||
156 | /** |
||
157 | * @return ORMException |
||
158 | */ |
||
159 | public static function metadataCacheNotConfigured() |
||
163 | |||
164 | /** |
||
165 | * @param \Doctrine\Common\Cache\Cache $cache |
||
166 | * |
||
167 | * @return ORMException |
||
168 | */ |
||
169 | public static function queryCacheUsesNonPersistentCache(CacheDriver $cache) |
||
173 | |||
174 | /** |
||
175 | * @param \Doctrine\Common\Cache\Cache $cache |
||
176 | * |
||
177 | * @return ORMException |
||
178 | */ |
||
179 | public static function metadataCacheUsesNonPersistentCache(CacheDriver $cache) |
||
183 | |||
184 | 1 | /** |
|
185 | 1 | * @return ORMException |
|
186 | 1 | */ |
|
187 | public static function proxyClassesAlwaysRegenerating() |
||
191 | |||
192 | /** |
||
193 | * @param string $entityNamespaceAlias |
||
194 | * |
||
195 | * @return ORMException |
||
196 | 2 | */ |
|
197 | public static function unknownEntityNamespace($entityNamespaceAlias) |
||
203 | |||
204 | /** |
||
205 | * @param string $className |
||
206 | * |
||
207 | * @return ORMException |
||
208 | */ |
||
209 | public static function invalidEntityRepository($className) |
||
213 | |||
214 | /** |
||
215 | * @param string $className |
||
216 | * @param string $fieldName |
||
217 | * |
||
218 | * @return ORMException |
||
219 | */ |
||
220 | public static function missingIdentifierField($className, $fieldName) |
||
224 | |||
225 | 1 | /** |
|
226 | * @param string $className |
||
227 | * @param string[] $fieldNames |
||
228 | * |
||
229 | * @return ORMException |
||
230 | */ |
||
231 | 1 | public static function unrecognizedIdentifierFields($className, $fieldNames) |
|
238 | |||
239 | /** |
||
240 | * @return ORMException |
||
241 | 1 | */ |
|
242 | public static function cantUseInOperatorOnCompositeKeys() |
||
246 | } |
||
247 |