Class Question.QuestionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.marcpg.libpg.formular.question.Question.QuestionException
All Implemented Interfaces:
Serializable
Enclosing class:
Question

public static final class Question.QuestionException extends RuntimeException
Represents an exception that's thrown by a question.
This is typically only caused by manual code execution and not by user input.
See Also:
  • Constructor Details

    • QuestionException

      public QuestionException(String message, @NotNull @NotNull Question question)
      Creates a new Question.QuestionException with a description and the Question type which caused it.
      Parameters:
      message - A short description of what went wrong.
      question - The question which caused this exception.