public class ErrorScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
protected Throwable |
error
Description of the Field
|
protected String |
message
Description of the Field
|
| Constructor and Description |
|---|
ErrorScreen(WebSession s,
String msg)
Constructor for the ErrorScreen object
|
ErrorScreen(WebSession s,
Throwable t)
Constructor for the ErrorScreen object
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.ecs.Element |
createContent(String s)
Description of the Method
|
protected org.apache.ecs.Element |
createContent(Throwable t)
Description of the Method
|
protected org.apache.ecs.Element |
createContent(WebSession s)
Description of the Method
|
void |
fixCurrentScreen(WebSession s)
fixCurrentScreen.
|
static org.apache.ecs.Element |
formatStackTrace(Throwable t)
Description of the Method
|
String |
getRole()
getRole.
|
static String |
getStackTrace(Throwable t)
Gets the stackTrace attribute of the ErrorScreen class
|
String |
getTitle()
Gets the title attribute of the ErrorScreen object
|
void |
setup(WebSession s)
setup.
|
protected org.apache.ecs.Element |
wrapForm(WebSession s)
wrapForm.
|
convertMetachars, convertMetacharsJavaCode, createLessonTracker, createLessonTracker, getContent, getContentLength, getLessonTracker, getLessonTracker, getLessonTracker, getSponsor, getSponsorLogoResource, makeLogo, makeMessages, output, pad, setContentprotected Throwable error
protected String message
public ErrorScreen(WebSession s, Throwable t)
s - Description of the Parametert - Description of the Parameterpublic ErrorScreen(WebSession s, String msg)
s - Description of the Parametermsg - Description of the Parameterpublic void fixCurrentScreen(WebSession s)
fixCurrentScreen.
s - a WebSession object.public void setup(WebSession s)
setup.
s - a WebSession object.protected org.apache.ecs.Element wrapForm(WebSession s)
wrapForm.
s - a WebSession object.Element object.protected org.apache.ecs.Element createContent(WebSession s)
createContent in class Screens - Description of the Parameterprotected org.apache.ecs.Element createContent(String s)
s - Description of the Parameterprotected org.apache.ecs.Element createContent(Throwable t)
t - Description of the Parameterpublic static org.apache.ecs.Element formatStackTrace(Throwable t)
t - Description of the Parameterpublic static String getStackTrace(Throwable t)
t - Description of the Parameterpublic String getTitle()
Copyright © 2006–2016 OWASP. All rights reserved.