Class IsNaNException

All Implemented Interfaces:
Serializable

public class IsNaNException extends ThermoException

IsNaNException class.

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

    • serialVersionUID

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

      private final String paramName
  • Constructor Details

    • IsNaNException

      public IsNaNException(String className, String methodName, String msg)
      Constructs an IsNaNException with a detailed message.
      Parameters:
      className - Class that exception is raised from
      methodName - Method that exception is raised from
      msg - detailed message
    • IsNaNException

      public IsNaNException(Object obj, String methodName, String param)
      Constructs an IsNaNException with a default detail message.
      Parameters:
      obj - object that exception is raised from
      methodName - Method that exception is raised from
      param - the parameter that is NaN
  • Method Details

    • getRemediation

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

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

      Returns:
      remediation advice string