1 | <?php |
||
16 | class ORMException extends Exception |
||
17 | { |
||
18 | /** |
||
19 | * @param string $nativeQueryName |
||
20 | * |
||
21 | * @return ORMException |
||
22 | */ |
||
23 | public static function namedNativeQueryNotFound($nativeQueryName) |
||
27 | |||
28 | /** |
||
29 | * @param string $field |
||
30 | * |
||
31 | * @return ORMException |
||
32 | */ |
||
33 | public static function unrecognizedField($field) |
||
37 | |||
38 | /** |
||
39 | * |
||
40 | * @param string $class |
||
41 | * @param string $association |
||
42 | * @param string $given |
||
43 | * @param string $expected |
||
44 | * |
||
45 | * @return \Doctrine\ORM\ORMInvalidArgumentException |
||
46 | */ |
||
47 | 2 | public static function unexpectedAssociationValue($class, $association, $given, $expected) |
|
51 | |||
52 | /** |
||
53 | * @param string $className |
||
54 | * @param string $field |
||
55 | * |
||
56 | * @return ORMException |
||
57 | */ |
||
58 | public static function invalidOrientation($className, $field) |
||
62 | |||
63 | /** |
||
64 | * @return ORMException |
||
65 | */ |
||
66 | public static function entityManagerClosed() |
||
70 | |||
71 | /** |
||
72 | * @param string $mode |
||
73 | * |
||
74 | * @return ORMException |
||
75 | */ |
||
76 | public static function invalidHydrationMode($mode) |
||
80 | |||
81 | /** |
||
82 | * @return ORMException |
||
83 | */ |
||
84 | public static function mismatchedEventManager() |
||
88 | 1 | ||
89 | 1 | /** |
|
90 | 1 | * @return ORMException |
|
91 | */ |
||
92 | public static function invalidResultCacheDriver() |
||
96 | |||
97 | /** |
||
98 | * @return ORMException |
||
99 | 3 | */ |
|
100 | public static function notSupported() |
||
104 | |||
105 | /** |
||
106 | * @return ORMException |
||
107 | */ |
||
108 | public static function queryCacheNotConfigured() |
||
112 | |||
113 | /** |
||
114 | * @return ORMException |
||
115 | */ |
||
116 | public static function metadataCacheNotConfigured() |
||
120 | |||
121 | /** |
||
122 | * @param \Doctrine\Common\Cache\Cache $cache |
||
123 | * |
||
124 | 1 | * @return ORMException |
|
125 | */ |
||
126 | 1 | public static function queryCacheUsesNonPersistentCache(CacheDriver $cache) |
|
130 | |||
131 | /** |
||
132 | * @param \Doctrine\Common\Cache\Cache $cache |
||
133 | * |
||
134 | * @return ORMException |
||
135 | */ |
||
136 | public static function metadataCacheUsesNonPersistentCache(CacheDriver $cache) |
||
140 | |||
141 | /** |
||
142 | 5 | * @return ORMException |
|
143 | */ |
||
144 | 5 | public static function proxyClassesAlwaysRegenerating() |
|
148 | |||
149 | /** |
||
150 | * @param string $entityNamespaceAlias |
||
151 | * |
||
152 | * @return ORMException |
||
153 | */ |
||
154 | public static function unknownEntityNamespace($entityNamespaceAlias) |
||
160 | |||
161 | /** |
||
162 | * @param string $className |
||
163 | * |
||
164 | * @return ORMException |
||
165 | */ |
||
166 | public static function invalidEntityRepository($className) |
||
170 | 1 | ||
171 | /** |
||
172 | 1 | * @param string $className |
|
173 | * @param string $fieldName |
||
174 | * |
||
175 | * @return ORMException |
||
176 | */ |
||
177 | public static function missingIdentifierField($className, $fieldName) |
||
181 | |||
182 | 1 | /** |
|
183 | * @param string $className |
||
184 | 1 | * @param string[] $fieldNames |
|
185 | 1 | * |
|
186 | 1 | * @return ORMException |
|
187 | */ |
||
188 | public static function unrecognizedIdentifierFields($className, $fieldNames) |
||
195 | |||
196 | 2 | /** |
|
197 | * @return ORMException |
||
198 | 2 | */ |
|
199 | 2 | public static function cantUseInOperatorOnCompositeKeys() |
|
203 | } |
||
204 |