Class TooManyIterationsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
neqsim.util.exception.ThermoException
neqsim.util.exception.TooManyIterationsException
- All Implemented Interfaces:
Serializable
TooManyIterationsException class.
- Version:
- $Id: $Id
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longprivate static final longSerialization version UID. -
Constructor Summary
ConstructorsConstructorDescriptionTooManyIterationsException(Object obj, String methodName, long maxIterations) Constructs aTooManyIterationsExceptionwith a standard error message.TooManyIterationsException(String className, String methodName, long maxIterations) Constructs aTooManyIterationsExceptionwith a standard error message. -
Method Summary
Modifier and TypeMethodDescriptionGet remediation advice for this exception.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
maxIterations
private final long maxIterations
-
-
Constructor Details
-
TooManyIterationsException
Constructs aTooManyIterationsExceptionwith a standard error message.- Parameters:
className- Class that exception is raised frommethodName- Method that exception is raised frommaxIterations- the maximum number of iterations
-
TooManyIterationsException
Constructs aTooManyIterationsExceptionwith a standard error message.- Parameters:
obj- object that exception is raised frommethodName- method that exception is raised frommaxIterations- the maximum number of iterations
-
-
Method Details
-
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
-