Package tigase.xmpp

Class XMPPProcessorException

    • Constructor Detail

      • XMPPProcessorException

        public XMPPProcessorException​(Authorization errorCondition)
      • XMPPProcessorException

        public XMPPProcessorException​(Authorization errorCondition,
                                      java.lang.String text)
        Parameters:
        text - human readable message will be send to client
      • XMPPProcessorException

        public XMPPProcessorException​(Authorization errorCondition,
                                      java.lang.String text,
                                      java.lang.Throwable cause)
      • XMPPProcessorException

        public XMPPProcessorException​(Authorization errorCondition,
                                      java.lang.String text,
                                      java.lang.String message)
        Parameters:
        message - exception message for logging
        text - human readable message will be send to client
      • XMPPProcessorException

        public XMPPProcessorException​(Authorization errorCondition,
                                      java.lang.String text,
                                      java.lang.String message,
                                      java.lang.Throwable cause)
    • Method Detail

      • getCode

        public java.lang.String getCode()
        Returns:
        Returns the code.
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getMessageWithPosition

        public java.lang.String getMessageWithPosition()
      • getName

        public java.lang.String getName()
        Returns:
        Returns the name.
      • getText

        public java.lang.String getText()
      • getType

        public java.lang.String getType()
        Returns:
        Returns the type.
      • getErrorMessagePrefix

        protected java.lang.String getErrorMessagePrefix()