2019-01-10 04:04:30 +08:00
|
|
|
<!doctype html>
|
2009-04-02 00:53:45 +08:00
|
|
|
<html>
|
2019-01-10 04:04:30 +08:00
|
|
|
<head>
|
|
|
|
<title><g:if env="development">Grails Runtime Exception</g:if><g:else>Error</g:else></title>
|
|
|
|
<meta name="layout" content="main">
|
|
|
|
<g:if env="development"><asset:stylesheet src="errors.css"/></g:if>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<g:if env="development">
|
|
|
|
<g:if test="${Throwable.isInstance(exception)}">
|
|
|
|
<g:renderException exception="${exception}" />
|
|
|
|
</g:if>
|
|
|
|
<g:elseif test="${request.getAttribute('javax.servlet.error.exception')}">
|
|
|
|
<g:renderException exception="${request.getAttribute('javax.servlet.error.exception')}" />
|
|
|
|
</g:elseif>
|
|
|
|
<g:else>
|
|
|
|
<ul class="errors">
|
|
|
|
<li>An error has occurred</li>
|
|
|
|
<li>Exception: ${exception}</li>
|
|
|
|
<li>Message: ${message}</li>
|
|
|
|
<li>Path: ${path}</li>
|
|
|
|
</ul>
|
|
|
|
</g:else>
|
|
|
|
</g:if>
|
|
|
|
<g:else>
|
|
|
|
<ul class="errors">
|
|
|
|
<li>An error has occurred</li>
|
|
|
|
</ul>
|
|
|
|
</g:else>
|
|
|
|
</body>
|
2014-02-25 23:46:06 +08:00
|
|
|
</html>
|