Examples of ConversationException


Examples of com.github.overengineer.scope.conversation.exceptions.ConversationException

            throw ce;

        } catch (Exception e) {

            LOG.error("An exception occurred while processing the conversations", e);
            throw new ConversationException(e.getMessage());
        }

        if (LOG.isDebugEnabled()) {
            LOG.debug("...processing of conversations complete.");
        }
View Full Code Here

Examples of com.google.code.rees.scope.conversation.ConversationException

     
      if (LOG.isDebugEnabled()) {
        LOG.debug("An exception occurred while processing the conversations:  " + e.getMessage());
      }
     
      throw new ConversationException(e.getMessage());
    }
   
    if (LOG.isDebugEnabled()) {
      LOG.debug("...processing of conversations complete.");
    }
View Full Code Here

Examples of com.google.code.rees.scope.conversation.ConversationException

          conversationAdapter.addPostProcessor(new ConversationEndProcessor(), conversationConfig, conversationId);
        } else {
          conversationAdapter.getViewContext().put(conversationName, conversationId);
        }
      } else {
              throw new ConversationException("The following conversation name and id pair did not return an active ConversationContext:  Name: " + conversationName + ", ID:  " + conversationId + ".  This is likely due to the conversation having ended or expired.");
            }
    } else if (conversationConfig.isBeginAction(actionId)) {
      long maxIdleTime = conversationConfig.getMaxIdleTime(actionId);
      if (LOG.isDebugEnabled()) {
                LOG.debug("Beginning new " + conversationName+ " with max idle time of " + maxIdleTime / 1000 + " seconds for action " + actionId);
View Full Code Here

Examples of com.google.code.rees.scope.conversation.ConversationException

                        ScopeUtil.setFieldValues(action, actionConversationFields, conversationContext);
                    }
                   
                } else {
                 
                  throw new ConversationException("The following conversation name and id pair did not return an active ConversationContext:  Name: " + conversationName + ", ID:  " + conversationId + ".  This is likely due to the conversation having ended or expired.");
                 
                }

                if (conversationConfig.isEndAction(actionId)) {
                    conversationAdapter.addPostProcessor(new ConversationEndProcessor(), conversationConfig, conversationId);
View Full Code Here

Examples of com.google.code.rees.scope.conversation.exceptions.ConversationException

      throw ce;
     
    } catch (Exception e) {
     
      LOG.error("An exception occurred while processing the conversations:  " + e.getMessage());
      throw new ConversationException(e.getMessage());
    }
   
    if (LOG.isDebugEnabled()) {
      LOG.debug("...processing of conversations complete.");
    }
View Full Code Here

Examples of com.google.code.rees.scope.conversation.exceptions.ConversationException

      throw ce;
     
    } catch (Exception e) {
     
      LOG.error("An exception occurred while processing the conversations:  " + e.getMessage());
      throw new ConversationException(e.getMessage());
    }
   
    if (LOG.isDebugEnabled()) {
      LOG.debug("...processing of conversations complete.");
    }
View Full Code Here

Examples of com.google.code.rees.scope.conversation.exceptions.ConversationException

      throw ce;
     
    } catch (Exception e) {
     
      LOG.error("An exception occurred while processing the conversations:  " + e.getMessage());
      throw new ConversationException(e.getMessage());
    }
   
    if (LOG.isDebugEnabled()) {
      LOG.debug("...processing of conversations complete.");
    }
View Full Code Here

Examples of org.apache.ws.sandbox.security.conversation.ConversationException

                    ConversationConstants.WSC_NS,
                    ConversationConstants.WSC_PREFIX);
            this.elementOffset.appendChild(doc.createTextNode(Integer.toString(offset)));
            this.element.appendChild(this.elementOffset);
        } else {
            throw new ConversationException("Offset cannot be set along with generation - generation is already set");
        }

    }
View Full Code Here

Examples of org.apache.ws.sandbox.security.conversation.ConversationException

                    ConversationConstants.WSC_NS,
                    ConversationConstants.WSC_PREFIX);
            this.elementGeneration.appendChild(doc.createTextNode(Integer.toString(generation)));
            this.element.appendChild(this.elementGeneration);
        } else {
            throw new ConversationException("Generatation cannot be set along with offset - Offset is already set");
        }
    }
View Full Code Here

Examples of org.apache.ws.sandbox.security.conversation.ConversationException

            for(int i = 0; i < key.length; i++)
              key[i] = tempBytes[i+offset];

            return key;
        } catch (Exception ex) {
            throw new ConversationException("Key Derivation : P_SHA-1: " +
                    ex.getMessage());
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.