Class BoshException

  • All Implemented Interfaces:
    Serializable

    public final class BoshException
    extends XmppException
    A BOSH exception is thrown when the BOSH connection manager returned an error condition or the HTTP request responded with an HTTP error code.
    See Also:
    Body.Condition, Serialized Form
    • Method Detail

      • getCondition

        public final Body.Condition getCondition()
        Gets the BOSH error condition.
        Returns:
        The BOSH error condition.
      • getUri

        public final URI getUri()
        Gets the URI in case of a "see-other-uri" error.
        Returns:
        The URI.
      • getHttpErrorCode

        public final int getHttpErrorCode()
        Gets the HTTP error code.
        Returns:
        The HTTP error code.