Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 858c0ca

Browse files
authored
Merge pull request #914 from grails/javax-jakarta-error-exception
Update error exceptions from javax to jakarta
2 parents 63881c9 + 57b43c3 commit 858c0ca

File tree

4 files changed

+8
-8
lines changed
  • examples
    • grails3-database-per-tenant/grails-app/views
    • grails3-hibernate5/grails-app/views
    • grails3-partitioned-multi-tenancy/grails-app/views
    • grails3-schema-per-tenant/grails-app/views

4 files changed

+8
-8
lines changed

examples/grails3-database-per-tenant/grails-app/views/error.gsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<g:if test="${Throwable.isInstance(exception)}">
1111
<g:renderException exception="${exception}" />
1212
</g:if>
13-
<g:elseif test="${request.getAttribute('javax.servlet.error.exception')}">
14-
<g:renderException exception="${request.getAttribute('javax.servlet.error.exception')}" />
13+
<g:elseif test="${request.getAttribute('jakarta.servlet.error.exception')}">
14+
<g:renderException exception="${request.getAttribute('jakarta.servlet.error.exception')}" />
1515
</g:elseif>
1616
<g:else>
1717
<ul class="errors">

examples/grails3-hibernate5/grails-app/views/error.gsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<g:if test="${Throwable.isInstance(exception)}">
1111
<g:renderException exception="${exception}" />
1212
</g:if>
13-
<g:elseif test="${request.getAttribute('javax.servlet.error.exception')}">
14-
<g:renderException exception="${request.getAttribute('javax.servlet.error.exception')}" />
13+
<g:elseif test="${request.getAttribute('jakarta.servlet.error.exception')}">
14+
<g:renderException exception="${request.getAttribute('jakarta.servlet.error.exception')}" />
1515
</g:elseif>
1616
<g:else>
1717
<ul class="errors">

examples/grails3-partitioned-multi-tenancy/grails-app/views/error.gsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<g:if test="${Throwable.isInstance(exception)}">
1111
<g:renderException exception="${exception}" />
1212
</g:if>
13-
<g:elseif test="${request.getAttribute('javax.servlet.error.exception')}">
14-
<g:renderException exception="${request.getAttribute('javax.servlet.error.exception')}" />
13+
<g:elseif test="${request.getAttribute('jakarta.servlet.error.exception')}">
14+
<g:renderException exception="${request.getAttribute('jakarta.servlet.error.exception')}" />
1515
</g:elseif>
1616
<g:else>
1717
<ul class="errors">

examples/grails3-schema-per-tenant/grails-app/views/error.gsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<g:if test="${Throwable.isInstance(exception)}">
1111
<g:renderException exception="${exception}" />
1212
</g:if>
13-
<g:elseif test="${request.getAttribute('javax.servlet.error.exception')}">
14-
<g:renderException exception="${request.getAttribute('javax.servlet.error.exception')}" />
13+
<g:elseif test="${request.getAttribute('jakarta.servlet.error.exception')}">
14+
<g:renderException exception="${request.getAttribute('jakarta.servlet.error.exception')}" />
1515
</g:elseif>
1616
<g:else>
1717
<ul class="errors">

0 commit comments

Comments
 (0)