?? error.gsp
字號:
<html> <head> <title>Grails Runtime Exception</title> <style type="text/css"> .message { border: 1px solid black; padding: 5px; background-color:#E9E9E9; } .stack { border: 1px solid black; padding: 5px; overflow:auto; height: 300px; } .snippet { padding: 5px; background-color:white; border:1px solid black; margin:3px; font-family:courier; } </style> </head> <body> <h1>Grails Runtime Exception</h1> <h2>Error Details</h2> <div class="message"> <strong>Message:</strong> ${exception.message} <br /> <strong>Caused by:</strong> ${exception.cause?.message} <br /> <strong>Class:</strong> ${exception.className} <br /> <strong>At Line:</strong> [${exception.lineNumber}] <br /> <strong>Code Snippet:</strong><br /> <div class="snippet"> <g:each var="cs" in="${exception.codeSnippet}"> ${cs}<br /> </g:each> </div> </div> <h2>Stack Trace</h2> <div class="stack"> ${exception.stackTraceText} </div> </body></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -