Class TooManyIterationsException

All Implemented Interfaces:
Serializable

public class TooManyIterationsException extends ThermoException

TooManyIterationsException class.

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

    • serialVersionUID

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

      private final long maxIterations
  • Constructor Details

    • TooManyIterationsException

      public TooManyIterationsException(String className, String methodName, long maxIterations)
      Constructs a TooManyIterationsException with a standard error message.
      Parameters:
      className - Class that exception is raised from
      methodName - Method that exception is raised from
      maxIterations - the maximum number of iterations
    • TooManyIterationsException

      public TooManyIterationsException(Object obj, String methodName, long maxIterations)
      Constructs a TooManyIterationsException with a standard error message.
      Parameters:
      obj - object that exception is raised from
      methodName - method that exception is raised from
      maxIterations - the maximum number of iterations
  • Method Details

    • getRemediation

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

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

      Returns:
      remediation advice string