Class ChatOperationFailedException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Chat chat  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Chat getChat()
      Returns the chat
      • 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
    • Field Detail

      • chat

        protected final transient Chat chat
    • Constructor Detail

      • ChatOperationFailedException

        public ChatOperationFailedException​(java.lang.String message,
                                            Chat chat)
        Parameters:
        message - the error message
        chat - the chat of the failed operation
        Since:
        12.23
      • ChatOperationFailedException

        public ChatOperationFailedException​(java.lang.String message,
                                            java.lang.Throwable cause,
                                            Chat chat)
        Parameters:
        message - the error message
        cause - the cause of the exception
        chat - the chat of the failed operation
        Since:
        12.23
    • Method Detail

      • getChat

        public Chat getChat()
        Description copied from interface: ChatProvider
        Returns the chat
        Specified by:
        getChat in interface ChatProvider
        Returns:
        the chat
        Since:
        12.23