|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.com.arsmachina.example.web.pages.Error
public class Error
Error page. This page redirects to the index page when accessed directly, in other words, when no error ocurred.
| Constructor Summary | |
|---|---|
Error()
|
|
| Method Summary | |
|---|---|
Throwable |
getException()
Returns the value of the exception property. |
boolean |
isProductionMode()
Returns the value of the productionMode property. |
Object |
onActivate()
Redirects to the index page when acessed directly, not because of an error. |
void |
reportException(Throwable exception)
Does nothing, as the exception is already logged. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Error()
| Method Detail |
|---|
public boolean isProductionMode()
productionMode property.
boolean.public Object onActivate()
String.public void reportException(Throwable exception)
reportException in interface ExceptionReporterExceptionReporter.reportException(java.lang.Throwable)public Throwable getException()
exception property.
Throwable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||