com.filenet.wcm.apps.server.util.integration
Class ThickClientIntegrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.filenet.wcm.toolkit.server.util.FrameworkException
com.filenet.wcm.apps.server.util.integration.ThickClientIntegrationException
- All Implemented Interfaces:
- java.io.Serializable
- public class ThickClientIntegrationException
- extends com.filenet.wcm.toolkit.server.util.FrameworkException
- See Also:
- Serialized Form
Fields inherited from class com.filenet.wcm.toolkit.server.util.FrameworkException |
anchorLinks, cause, extraParameters, isWarning, signOutAnchor, weReturnURL |
Constructor Summary |
ThickClientIntegrationException(java.lang.Exception e,
com.filenet.wcm.toolkit.server.base.WcmController controller,
CommandCall cc)
Constructor used for an exception that can be handled in Workplace without sending a response to the client application. |
ThickClientIntegrationException(java.lang.Exception e,
com.filenet.wcm.toolkit.server.base.WcmController controller,
int returnCode)
Constructor used for exceptions sent back as responses with integration-specific responseCodes |
Methods inherited from class com.filenet.wcm.toolkit.server.util.FrameworkException |
configureCloseURL, configureHelpURL, configureReturnURL, configureSignoutURL, extractStackTrace, getCauseException, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, renderErrorMessageBox, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sendResponse
protected boolean sendResponse
responseCode
protected int responseCode
e
protected java.lang.Exception e
cc
protected CommandCall cc
controller
protected com.filenet.wcm.toolkit.server.base.WcmController controller
ThickClientIntegrationException
public ThickClientIntegrationException(java.lang.Exception e,
com.filenet.wcm.toolkit.server.base.WcmController controller,
CommandCall cc)
- Constructor used for an exception that can be handled in Workplace without sending a response to the client application.
Need a valid returnUrl to send the user back to when they click "Return" link in WcmError.jsp
- Parameters:
e
- - an exception objectcontroller
- - WcmController objectcc
- - the thick client command call object being used.
ThickClientIntegrationException
public ThickClientIntegrationException(java.lang.Exception e,
com.filenet.wcm.toolkit.server.base.WcmController controller,
int returnCode)
- Constructor used for exceptions sent back as responses with integration-specific responseCodes
- Parameters:
e
- - exception objectcontroller
- - WcmController objectreturnCode
- - a value that helps thick application integration how to handle the exception.
See ResponseCall interface for list of available RETURN_CODE values.
sendAsResponse
public boolean sendAsResponse()
getResponseCode
public int getResponseCode()
renderErrorMessageBox
public void renderErrorMessageBox(java.io.Writer w)
throws java.io.IOException
- Renders the WcmErrorMessageBox display
Construct the anchors displayed based on our internal data.
- Parameters:
w
-
- Throws:
java.io.IOException
© Copyright IBM Corp. 2002, 2007. All Rights Reserved.