com.filenet.wcm.apps.server.util.integration
Class ThickClientIntegrationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.filenet.wcm.toolkit.server.util.FrameworkException
              extended bycom.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

Field Summary
protected  CommandCall cc
           
protected  com.filenet.wcm.toolkit.server.base.WcmController controller
           
protected  java.lang.Exception e
           
protected  int responseCode
           
protected  boolean sendResponse
           
 
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
 
Method Summary
 int getResponseCode()
           
 void renderErrorMessageBox(java.io.Writer w)
          Renders the WcmErrorMessageBox display Construct the anchors displayed based on our internal data.
 boolean sendAsResponse()
           
 
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
 

Field Detail

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
Constructor Detail

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 object
controller - - WcmController object
cc - - 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 object
controller - - WcmController object
returnCode - - a value that helps thick application integration how to handle the exception. See ResponseCall interface for list of available RETURN_CODE values.
Method Detail

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.