|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectview.GoResponse
view.page.GoPage
view.page.ErrorPage
public class ErrorPage
| Constructor Summary | |
|---|---|
ErrorPage(java.lang.String msg)
Constructs the page with a simple error message. |
|
ErrorPage(java.lang.String msg,
java.lang.Exception exception)
Constructs the page with a message and an exception stack trace. |
|
| Method Summary | |
|---|---|
private static java.lang.String |
getStackTrace(java.lang.Exception exception)
Produces a String representation for an exception stack trace, adding a newline after each method invocation. |
| Methods inherited from class view.page.GoPage |
|---|
getContent, getSource, getSource, setOnLoad, setTitleText |
| Methods inherited from class view.GoResponse |
|---|
addCookie, getCookies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorPage(java.lang.String msg)
msg - the error message to display.
public ErrorPage(java.lang.String msg,
java.lang.Exception exception)
msg - the error message to displayexception - the exception to display| Method Detail |
|---|
private static java.lang.String getStackTrace(java.lang.Exception exception)
exception - the exception to generate the String from.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||