Class InvalidInputException

All Implemented Interfaces:
Serializable

public class InvalidInputException extends ThermoException

InvalidInputException class.

Version:
$Id: $Id
Author:
Even Solbraa
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
  • Constructor Details

    • InvalidInputException

      public InvalidInputException(String className, String methodName, String inputName)
      Constructs an InvalidInputException with a default message like: Input " + inputName + " was invalid.
      Parameters:
      className - Class that exception is raised from
      methodName - Method that exception is raised from
      inputName - Name of invalid input
    • InvalidInputException

      public InvalidInputException(String className, String methodName, String inputName, String msg)
      Constructs an InvalidInputException with a message like: "Input " + inputName + " " + msg
      Parameters:
      className - Class that exception is raised from
      methodName - Method that exception is raised from
      inputName - Name of invalid input
      msg - error message detailing input problem
    • InvalidInputException

      public InvalidInputException(Object obj, String methodName, String inputName)
      Constructs an InvalidInputException with a default message.
      Parameters:
      obj - Object that exception is raised from
      methodName - Method that exception is raised from
      inputName - Name of invalid input
    • InvalidInputException

      public InvalidInputException(Object obj, String methodName, String inputName, String msg)
      Constructs an InvalidInputException with a default message.
      Parameters:
      obj - Object that exception is raised from
      methodName - Method that exception is raised from
      inputName - Name of invalid input
      msg - error message detailing input problem
  • Method Details

    • getRemediation

      public String getRemediation()
      Get remediation advice for this exception.

      Returns a hint on how to fix the invalid input. AI agents can use this to self-correct.

      Returns:
      remediation advice string