Class StreamManagementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jivesoftware.openfire.streammanagement.StreamManagementException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionStreamManagementException(org.xmpp.packet.PacketError.Condition condition, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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()
-