Mon, 21 Dec 2020 18:29:34 +0100
major refactoring of DAO architecture - also fixes #114
24 | 1 | # Copyright 2018 Mike Becker. All rights reserved. |
1
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | # |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | # Redistribution and use in source and binary forms, with or without |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
4 | # modification, are permitted provided that the following conditions are met: |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | # |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | # 1. Redistributions of source code must retain the above copyright |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
7 | # notice, this list of conditions and the following disclaimer. |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
8 | # |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
9 | # 2. Redistributions in binary form must reproduce the above copyright |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
10 | # notice, this list of conditions and the following disclaimer in the |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
11 | # documentation and/or other materials provided with the distribution. |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
12 | # |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
14 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
15 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
16 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
17 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
18 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
19 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
20 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
21 | # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
22 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
23 | |
77
192298f8161f
bloat removal 1/3 - configurable resource keys
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
24 | pageTitle = Error |
18
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
25 | |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
26 | h1 = The requested page cannot be displayed. |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
27 | errorCode = Code |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
28 | |
53
6a8498291606
fixes bug where displaying an error page for missing data source would also require that data source (error pages don't try to get database connections now)
Mike Becker <universe@uap-core.de>
parents:
46
diff
changeset
|
29 | errorMessage = Server Message |
6a8498291606
fixes bug where displaying an error page for missing data source would also require that data source (error pages don't try to get database connections now)
Mike Becker <universe@uap-core.de>
parents:
46
diff
changeset
|
30 | code.404 = Page not found |
122
b2edd3d14135
adds error texts for 401 message (for later use)
Mike Becker <universe@uap-core.de>
parents:
77
diff
changeset
|
31 | code.401 = Authorization required |
53
6a8498291606
fixes bug where displaying an error page for missing data source would also require that data source (error pages don't try to get database connections now)
Mike Becker <universe@uap-core.de>
parents:
46
diff
changeset
|
32 | code.403 = Access denied |
6a8498291606
fixes bug where displaying an error page for missing data source would also require that data source (error pages don't try to get database connections now)
Mike Becker <universe@uap-core.de>
parents:
46
diff
changeset
|
33 | code.500 = Internal error |
6a8498291606
fixes bug where displaying an error page for missing data source would also require that data source (error pages don't try to get database connections now)
Mike Becker <universe@uap-core.de>
parents:
46
diff
changeset
|
34 | code.503 = Service unavailable |
18
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
35 | |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
36 | errorTimestamp = Timestamp |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
37 | errorExceptionText = Internal Exception |
46
1574965c7dc7
fixes error pages and adds referer link to error page if it comes from the application
Mike Becker <universe@uap-core.de>
parents:
29
diff
changeset
|
38 | errorReturnLink = Return to |