Class PromptExecutionException.Builder<Instance,​Builder>

    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • build

        public abstract Instance build()
        Creates the exception instance with the configured values.
        Returns:
        The created exception instance.
      • cause

        public final Builder cause​(Throwable cause)
        Sets the cause of the exception.
        Parameters:
        cause - The cause of the exception.
        Returns:
        The builder instance.
      • message

        public final Builder message​(String message)
        Sets the technical message for the exception.
        Parameters:
        message - The technical message.
        Returns:
        The builder instance.