Class BusyConversationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class BusyConversationException
    extends ContextException
    A long running conversation must only be used by one request at the same time! If a parallel access to a long running conversation gets detected, this very Exception will be thrown for the new request and the 2nd request will get a fresh Conversation assigned. The customer application may decide to catch this Exception and continue it's work with the new conversation.
    Since:
    1.0 PFD2
    See Also:
    Context.get(Contextual, CreationalContext), Context.get(Contextual), Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BusyConversationException

        public BusyConversationException()
      • BusyConversationException

        public BusyConversationException​(java.lang.String message)
        Creates a new exception with message.
        Parameters:
        message - message
      • BusyConversationException

        public BusyConversationException​(java.lang.Throwable cause)
        Create a new exception with the root cause.
        Parameters:
        cause - cause of the exception
      • BusyConversationException

        public BusyConversationException​(java.lang.String message,
                                         java.lang.Throwable cause)
        Creates a new exception with the given message and throwable cause.
        Parameters:
        message - exception message
        cause - root cause of the exception