|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.ui.WcmErrorMessageBox
This class is used for rendering the error page
Field Summary | |
protected WcmDataStore |
dataStore
|
protected javax.servlet.http.HttpServletRequest |
request
|
static WcmString |
wsCloseWindow
|
static WcmString |
wsHelp
|
static WcmString |
wsReturn
|
static WcmString |
wsSignOut
|
Constructor Summary | |
WcmErrorMessageBox(javax.servlet.http.HttpServletRequest req,
WcmDataStore ds,
java.lang.Throwable t)
|
Method Summary | |
protected java.lang.Throwable |
getNestedException(WcmException exc)
|
static java.lang.String |
getStackTrace(java.lang.Throwable t)
|
void |
render(java.io.Writer w)
Renders the error message |
static void |
render(java.io.Writer w,
java.lang.Throwable thr,
boolean isWarning,
java.util.List anchors)
|
static void |
render(java.io.Writer w,
java.lang.Throwable thr,
boolean isWarning,
java.util.List anchors,
java.util.Locale locale)
|
static void |
render(java.io.Writer w,
java.lang.Throwable thr,
boolean isWarning,
java.lang.String helpURL,
java.lang.String signOutURL,
java.lang.String closeURL,
java.lang.String returnURL)
|
static void |
render(java.io.Writer w,
java.lang.Throwable thr,
boolean isWarning,
java.lang.String helpURL,
java.lang.String signOutURL,
java.lang.String closeURL,
java.lang.String returnURL,
java.util.Locale locale)
|
void |
setHelpURL(java.lang.String url)
Sets the url for the help link |
void |
setShowCloseAnchor(boolean on)
Sets a flag to show Close link |
void |
setShowReturnAnchor(boolean on)
Sets a flag to show Return link |
void |
setShowSignOutAnchor(boolean on)
Sets a flag to show Sing Out link |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final WcmString wsHelp
public static final WcmString wsSignOut
public static final WcmString wsCloseWindow
public static final WcmString wsReturn
protected javax.servlet.http.HttpServletRequest request
protected WcmDataStore dataStore
Constructor Detail |
public WcmErrorMessageBox(javax.servlet.http.HttpServletRequest req, WcmDataStore ds, java.lang.Throwable t)
Method Detail |
protected java.lang.Throwable getNestedException(WcmException exc)
public static java.lang.String getStackTrace(java.lang.Throwable t)
public void render(java.io.Writer w) throws java.lang.Exception
w
- Writer object
java.lang.Exception
public static void render(java.io.Writer w, java.lang.Throwable thr, boolean isWarning, java.lang.String helpURL, java.lang.String signOutURL, java.lang.String closeURL, java.lang.String returnURL) throws java.io.IOException
java.io.IOException
public static void render(java.io.Writer w, java.lang.Throwable thr, boolean isWarning, java.lang.String helpURL, java.lang.String signOutURL, java.lang.String closeURL, java.lang.String returnURL, java.util.Locale locale) throws java.io.IOException
java.io.IOException
public static void render(java.io.Writer w, java.lang.Throwable thr, boolean isWarning, java.util.List anchors) throws java.io.IOException
java.io.IOException
public static void render(java.io.Writer w, java.lang.Throwable thr, boolean isWarning, java.util.List anchors, java.util.Locale locale) throws java.io.IOException
java.io.IOException
public void setHelpURL(java.lang.String url)
url
- public void setShowCloseAnchor(boolean on)
on
- public void setShowSignOutAnchor(boolean on)
on
- public void setShowReturnAnchor(boolean on)
on
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |