diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties index 1229b2c..59a805f 100644 --- a/src/main/resources/messages.properties +++ b/src/main/resources/messages.properties @@ -48,3 +48,6 @@ common.deleteConfirmation.label = Are you sure to delete? error.finishedOn.finishedBeforeStarted = value must be after starting date error.finishedOn.incompatibleStatus = order cannot be finished until it isn't accepted by client error.orderStatus.acceptedButNotFinished = order cannot be accepter until it isn't finished + +http.error.title = Something went wrong. +http.error.message = Please, go to the home page or contact administrator. diff --git a/src/main/resources/messages_en.properties b/src/main/resources/messages_en.properties index 1229b2c..59a805f 100644 --- a/src/main/resources/messages_en.properties +++ b/src/main/resources/messages_en.properties @@ -48,3 +48,6 @@ common.deleteConfirmation.label = Are you sure to delete? error.finishedOn.finishedBeforeStarted = value must be after starting date error.finishedOn.incompatibleStatus = order cannot be finished until it isn't accepted by client error.orderStatus.acceptedButNotFinished = order cannot be accepter until it isn't finished + +http.error.title = Something went wrong. +http.error.message = Please, go to the home page or contact administrator. diff --git a/src/main/resources/messages_ru.properties b/src/main/resources/messages_ru.properties index ed7e141..e36844f 100644 --- a/src/main/resources/messages_ru.properties +++ b/src/main/resources/messages_ru.properties @@ -48,3 +48,6 @@ common.deleteConfirmation.label = Вы действительно хотите error.finishedOn.finishedBeforeStarted = дата окончания должна быть после даты начала error.finishedOn.incompatibleStatus = заказ не может быть закончен если клиент еще не принял его error.orderStatus.acceptedButNotFinished = заказ не может быть принят пока он не закончен + +http.error.title = Что-то пошло не так. +http.error.message = Пожалуйста, вернитесь на домашнюю страницу или обратитесь к администратору. diff --git a/src/main/resources/templates/error.html b/src/main/resources/templates/error.html new file mode 100644 index 0000000..1e9befe --- /dev/null +++ b/src/main/resources/templates/error.html @@ -0,0 +1,17 @@ + + + + + + +
+

+
+
+

404 Not Found

+

+
+ + + \ No newline at end of file