Class AgentChatActionValidationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AgentChatActionValidationException
    extends java.lang.Exception
    Signals that a Validation Exception for an AgentChatAction has occurred.
    Since:
    11.30
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AgentChatActionValidationException​(java.lang.String message)
      Constructs a AgentChatActionValidationException with the specified detail message.
      AgentChatActionValidationException​(java.lang.String message, java.lang.String dialogUrl)
      Constructs an AgentChatActionValidationException with the specified detail message and an url to be opened within a dialog window instead of a simple error message.
      AgentChatActionValidationException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a AgentChatActionValidationException with the specified detail message and cause.
      AgentChatActionValidationException​(java.lang.Throwable cause)
      Constructs a AgentChatActionValidationException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDialogUrl()  
      • 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
    • Constructor Detail

      • AgentChatActionValidationException

        public AgentChatActionValidationException​(java.lang.String message)
        Constructs a AgentChatActionValidationException with the specified detail message.
        Parameters:
        message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)
        Since:
        11.30
      • AgentChatActionValidationException

        public AgentChatActionValidationException​(java.lang.String message,
                                                  java.lang.Throwable cause)
        Constructs a AgentChatActionValidationException with the specified detail message and cause.

        Note that the detail message associated with cause is not automatically incorporated into this exception's detail message.

        Parameters:
        message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)
        cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        Since:
        11.30
      • AgentChatActionValidationException

        public AgentChatActionValidationException​(java.lang.Throwable cause)
        Constructs a AgentChatActionValidationException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
        Parameters:
        cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        Since:
        11.30
      • AgentChatActionValidationException

        public AgentChatActionValidationException​(java.lang.String message,
                                                  java.lang.String dialogUrl)
        Constructs an AgentChatActionValidationException with the specified detail message and an url to be opened within a dialog window instead of a simple error message.
        Parameters:
        message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)
        dialogUrl - The dialogUrl used to show up a dialog window instead of a simple error message
        Since:
        12.29
    • Method Detail

      • getDialogUrl

        public java.lang.String getDialogUrl()
        Returns:
        the dialog url to be opened instead of a simple error message
        Since:
        12.29