Class InvalidOutputException

All Implemented Interfaces:
Serializable

public class InvalidOutputException extends ThermoException

InvalidOutputException class.

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

    • serialVersionUID

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

      private final String outputName
  • Constructor Details

    • InvalidOutputException

      public InvalidOutputException(String className, String methodName, String outputName)
      Constructs an InvalidOutputException with a default message.
      Parameters:
      className - Class that exception is raised from
      methodName - Method that exception is raised from
      outputName - Name of invalid output
    • InvalidOutputException

      public InvalidOutputException(String className, String methodName, String outputName, String msg)
      Constructs an InvalidOutputException with the specified detail message.
      Parameters:
      className - Class that exception is raised from
      methodName - Method that exception is raised from
      outputName - Name of invalid output
      msg - error message detailing output problem
    • InvalidOutputException

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

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

    • getRemediation

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

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

      Returns:
      remediation advice string