1 | <?php |
||
34 | class EntryNotFoundException extends FormzException |
||
35 | { |
||
36 | const FIELD_NOT_FOUND = 'The field "%s" was not found in the form "%s" with class "%s".'; |
||
37 | |||
38 | const CONDITION_NOT_FOUND = 'Trying to access a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
39 | |||
40 | const ADD_CONDITION_NOT_FOUND = 'Trying to add a condition "%s" which is not registered to the form definition. Here is a list of all currently registered conditions: "%s".'; |
||
41 | |||
42 | const INSTANTIATE_CONDITION_NOT_FOUND = 'Trying to instantiate a condition which is not registered: "%s". Here is a list of all currently registered conditions: "%s".'; |
||
43 | |||
44 | const ACTIVATION_CONDITION_NOT_FOUND = 'No condition "%s" was found.'; |
||
45 | |||
46 | const CONFIGURATION_FIELD_NOT_FOUND = 'The field "%s" was not found. Please use the function `%s::hasField()` before.'; |
||
47 | |||
48 | const VALIDATOR_NOT_FOUND = 'The validation "%s" was not found. Please use the function `%s::hasValidator()` before.'; |
||
49 | |||
50 | const VIEW_LAYOUT_NOT_FOUND = 'The layout "%s" was not found. Please use the function `%s::hasLayout()` before.'; |
||
51 | |||
52 | const VIEW_LAYOUT_ITEM_NOT_FOUND = 'The layout item "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
53 | |||
54 | const VIEW_CLASS_NOT_FOUND = 'The class "%s" was not found. Please use the function `%s::hasItem()` before.'; |
||
55 | |||
56 | const VALIDATION_NOT_FOUND_FOR_FIELD = 'The field "%s" does not have a rule "%s".'; |
||
57 | |||
58 | const ERROR_KEY_NOT_FOUND_FOR_VALIDATOR = 'The error key "%s" does not exist for the validator "%s".'; |
||
59 | |||
60 | const VIEW_HELPER_FIELD_NOT_FOUND = 'The field "%s" could not be fetched for the view helper "%s": please either use this view helper inside the view helper "%s", or fill the parameter `field` of this view helper with the field name you want.'; |
||
61 | |||
62 | const FIELD_VIEW_HELPER_LAYOUT_NOT_FOUND = 'The layout "%s" could not be found. Please check your TypoScript configuration.'; |
||
63 | |||
64 | const FIELD_VIEW_HELPER_LAYOUT_ITEM_NOT_FOUND = 'The layout "%s" does not have an item "%s".'; |
||
65 | |||
66 | const CONTROLLER_SERVICE_ACTION_FORM_ARGUMENT_MISSING = 'The method `%s::%s()` must have a parameter `$%s`. Note that you can also change the parameter `name` of the form view helper.'; |
||
67 | |||
68 | const SLOT_NOT_FOUND = 'No slot "%s" was found.'; |
||
69 | |||
70 | const ARGUMENT_NOT_FOUND = 'Trying to get an argument that does not exist: "%s". Please use function `has()`.'; |
||
71 | |||
72 | const FORM_REQUEST_DATA_NOT_FOUND = 'The data "%s" was not found. Please use the function `%s::hasData()` before.'; |
||
73 | |||
74 | const PERSISTENCE_SESSION_ENTRY_NOT_FOUND = 'The form with identifier "%s" was not found in the session, please use the function `%s::has()` before.'; |
||
75 | |||
76 | const META_DATA_NOT_FOUND = 'The metadata "%s" was not found. Please use the function `%s::has()` before.'; |
||
77 | |||
78 | const FORM_CONFIGURATION_NOT_FOUND = 'The configuration for form of class "%s" was not found. Please use the function `%s::hasForm()` before.'; |
||
79 | |||
80 | const CONDITION_NOT_FOUND_IN_DEFINITION = 'The condition "%s" was not found in the form definition. Please use the function `%s::hasCondition()` before.'; |
||
81 | |||
82 | const CONDITION_DOES_NOT_EXIST = 'The condition "%s" does not exist'; |
||
83 | |||
84 | const MIDDLEWARE_NOT_FOUND = 'The middleware "%s" was not found. Please use the function `%s::hasMiddleware()` before.'; |
||
85 | |||
86 | const STEP_ENTRY_NOT_FOUND = 'The step "%s" was not found. Please use the function `%s::hasEntry()` before.'; |
||
87 | |||
88 | const NEXT_STEPS_NOT_FOUND = 'The step definition for the step "%s" does not have next steps. Please use the function `%s::hasNextSteps()` before.'; |
||
89 | |||
90 | const PREVIOUS_DEFINITION_NOT_FOUND = 'The step definition for the step "%s" does not have a previous definition. Please use the function `%s::hasPreviousDefinition()` before.'; |
||
91 | |||
92 | /** |
||
93 | * @code 1472650209 |
||
94 | * |
||
95 | * @param string $identifier |
||
96 | * @param array $list |
||
97 | * @return self |
||
98 | */ |
||
99 | final public static function conditionNotFound($identifier, array $list) |
||
112 | |||
113 | /** |
||
114 | * @code 1493890438 |
||
115 | * |
||
116 | * @param string $identifier |
||
117 | * @param array $list |
||
118 | * @return self |
||
119 | */ |
||
120 | final public static function addConditionNotFound($identifier, array $list) |
||
133 | |||
134 | /** |
||
135 | * @code 1493890825 |
||
136 | * |
||
137 | * @param string $identifier |
||
138 | * @param array $list |
||
139 | * @return self |
||
140 | */ |
||
141 | final public static function instantiateConditionNotFound($identifier, array $list) |
||
154 | |||
155 | /** |
||
156 | * @code 1488482191 |
||
157 | * |
||
158 | * @param string $name |
||
159 | * @return self |
||
160 | */ |
||
161 | final public static function activationConditionNotFound($name) |
||
171 | |||
172 | /** |
||
173 | * @code 1489765133 |
||
174 | * |
||
175 | * @param string $name |
||
176 | * @return self |
||
177 | */ |
||
178 | final public static function configurationFieldNotFound($name) |
||
188 | |||
189 | /** |
||
190 | * @code 1487672276 |
||
191 | * |
||
192 | * @param string $name |
||
193 | * @return self |
||
194 | */ |
||
195 | final public static function validatorNotFound($name) |
||
205 | |||
206 | /** |
||
207 | * @code 1489753952 |
||
208 | * |
||
209 | * @param string $name |
||
210 | * @return self |
||
211 | */ |
||
212 | final public static function viewLayoutNotFound($name) |
||
222 | |||
223 | /** |
||
224 | * @code 1489757511 |
||
225 | * |
||
226 | * @param string $name |
||
227 | * @return self |
||
228 | */ |
||
229 | final public static function viewLayoutItemNotFound($name) |
||
239 | |||
240 | /** |
||
241 | * @code 1489754909 |
||
242 | * |
||
243 | * @param string $name |
||
244 | * @return self |
||
245 | */ |
||
246 | final public static function viewClassNotFound($name) |
||
256 | |||
257 | /** |
||
258 | * @code 1487672956 |
||
259 | * |
||
260 | * @param string $validationName |
||
261 | * @param string $fieldName |
||
262 | * @return self |
||
263 | */ |
||
264 | final public static function ajaxControllerValidationNotFoundForField($validationName, $fieldName) |
||
274 | |||
275 | /** |
||
276 | * @code 1487671603 |
||
277 | * |
||
278 | * @param string $fieldName |
||
279 | * @param FormObject $formObject |
||
280 | * @return self |
||
281 | */ |
||
282 | final public static function ajaxControllerFieldNotFound($fieldName, FormObject $formObject) |
||
292 | |||
293 | /** |
||
294 | * @code 1455272659 |
||
295 | * |
||
296 | * @param string $key |
||
297 | * @param AbstractValidator $validator |
||
298 | * @return self |
||
299 | */ |
||
300 | final public static function errorKeyNotFoundForValidator($key, AbstractValidator $validator) |
||
310 | |||
311 | /** |
||
312 | * @code 1487947224 |
||
313 | * |
||
314 | * @param string $fieldName |
||
315 | * @param FormObject $formObject |
||
316 | * @return self |
||
317 | */ |
||
318 | final public static function equalsToFieldValidatorFieldNotFound($fieldName, FormObject $formObject) |
||
328 | |||
329 | /** |
||
330 | * @code 1467623761 |
||
331 | * |
||
332 | * @param string $fieldName |
||
333 | * @return self |
||
334 | */ |
||
335 | final public static function classViewHelperFieldNotFound($fieldName) |
||
345 | |||
346 | /** |
||
347 | * @code 1467624152 |
||
348 | * |
||
349 | * @param string $fieldName |
||
350 | * @return self |
||
351 | */ |
||
352 | final public static function formatMessageViewHelperFieldNotFound($fieldName) |
||
362 | |||
363 | /** |
||
364 | * @code 1465243586 |
||
365 | * |
||
366 | * @param string $layoutName |
||
367 | * @return self |
||
368 | */ |
||
369 | final public static function fieldViewHelperLayoutNotFound($layoutName) |
||
379 | |||
380 | /** |
||
381 | * @code 1485867803 |
||
382 | * |
||
383 | * @param string $layoutName |
||
384 | * @param string $itemName |
||
385 | * @return self |
||
386 | */ |
||
387 | final public static function fieldViewHelperLayoutItemNotFound($layoutName, $itemName) |
||
397 | |||
398 | /** |
||
399 | * @code 1473084335 |
||
400 | * |
||
401 | * @param string $fieldName |
||
402 | * @param FormObject $formObject |
||
403 | * @return self |
||
404 | */ |
||
405 | final public static function formatMessageViewHelperFieldNotFoundInForm($fieldName, FormObject $formObject) |
||
415 | |||
416 | /** |
||
417 | * @code 1457441846 |
||
418 | * |
||
419 | * @param string $controllerObjectName |
||
420 | * @param string $actionName |
||
421 | * @param string $formName |
||
422 | * @return self |
||
423 | */ |
||
424 | final public static function controllerServiceActionFormArgumentMissing($controllerObjectName, $actionName, $formName) |
||
434 | |||
435 | /** |
||
436 | * @code 1488988452 |
||
437 | * |
||
438 | * @param string $name |
||
439 | * @return self |
||
440 | */ |
||
441 | final public static function slotClosureSlotNotFound($name) |
||
451 | |||
452 | /** |
||
453 | * @code 1489497046 |
||
454 | * |
||
455 | * @param string $name |
||
456 | * @return self |
||
457 | */ |
||
458 | final public static function slotArgumentsSlotNotFound($name) |
||
468 | |||
469 | /** |
||
470 | * @code 1490792697 |
||
471 | * |
||
472 | * @param string $name |
||
473 | * @return self |
||
474 | */ |
||
475 | final public static function argumentNotFound($name) |
||
485 | |||
486 | /** |
||
487 | * @code 1490799273 |
||
488 | * |
||
489 | * @param string $name |
||
490 | * @return self |
||
491 | */ |
||
492 | final public static function formRequestDataNotFound($name) |
||
502 | |||
503 | /** |
||
504 | * @code 1491293933 |
||
505 | * |
||
506 | * @param FormMetadata $metadata |
||
507 | * @return self |
||
508 | */ |
||
509 | final public static function persistenceSessionEntryNotFound(FormMetadata $metadata) |
||
519 | |||
520 | /** |
||
521 | * @code 1491814768 |
||
522 | * |
||
523 | * @param string $key |
||
524 | * @return self |
||
525 | */ |
||
526 | final public static function metadataNotFound($key) |
||
536 | |||
537 | /** |
||
538 | * @code 1491997168 |
||
539 | * |
||
540 | * @return self |
||
541 | */ |
||
542 | final public static function formConfigurationNotFound() |
||
552 | |||
553 | /** |
||
554 | * @code 1493881671 |
||
555 | * |
||
556 | * @param string $name |
||
557 | * @return self |
||
558 | */ |
||
559 | final public static function conditionNotFoundInDefinition($name) |
||
569 | |||
570 | /** |
||
571 | * @code 1491997309 |
||
572 | * |
||
573 | * @param string $name |
||
574 | * @return self |
||
575 | */ |
||
576 | final public static function middlewareNotFound($name) |
||
586 | |||
587 | /** |
||
588 | * @code 1492602754 |
||
589 | * |
||
590 | * @param string $name |
||
591 | * @return self |
||
592 | */ |
||
593 | final public static function stepEntryNotFound($name) |
||
603 | |||
604 | /** |
||
605 | * @code 1492603394 |
||
606 | * |
||
607 | * @param StepDefinition $stepDefinition |
||
608 | * @return EntryNotFoundException |
||
609 | */ |
||
610 | final public static function nextStepsNotFound(StepDefinition $stepDefinition) |
||
620 | |||
621 | /** |
||
622 | * @code 1492603656 |
||
623 | * |
||
624 | * @param StepDefinition $stepDefinition |
||
625 | * @return EntryNotFoundException |
||
626 | */ |
||
627 | final public static function previousDefinitionNotFound(StepDefinition $stepDefinition) |
||
637 | } |
||
638 |