Class StreamManagementException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jivesoftware.openfire.streammanagement.StreamManagementException
All Implemented Interfaces:
Serializable

public class StreamManagementException extends RuntimeException
Thrown when stream management could not be enabled for a session, carrying the error condition that XEP-0198 § 6 requires to be reported to the peer. The condition travels with the exception so that a caller which embeds the outcome in a larger response — such as a Bind2 inline request — can report the same reason that a standalone request would have received.
See Also:
  • Constructor Details

    • StreamManagementException

      public StreamManagementException(@Nonnull org.xmpp.packet.PacketError.Condition condition, @Nonnull String message)
  • Method Details

    • getCondition

      @Nonnull public org.xmpp.packet.PacketError.Condition getCondition()