Class InvalidInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
neqsim.util.exception.ThermoException
neqsim.util.exception.InvalidInputException
- All Implemented Interfaces:
Serializable
InvalidInputException class.
- Version:
- $Id: $Id
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version UID. -
Constructor Summary
ConstructorsConstructorDescriptionInvalidInputException(Object obj, String methodName, String inputName) Constructs anInvalidInputExceptionwith a default message.InvalidInputException(Object obj, String methodName, String inputName, String msg) Constructs anInvalidInputExceptionwith a default message.InvalidInputException(String className, String methodName, String inputName) Constructs anInvalidInputExceptionwith a default message like: Input " + inputName + " was invalid.InvalidInputException(String className, String methodName, String inputName, String msg) Constructs anInvalidInputExceptionwith a message like: "Input " + inputName + " " + msg -
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:
-
-
Constructor Details
-
InvalidInputException
Constructs anInvalidInputExceptionwith a default message like: Input " + inputName + " was invalid.- Parameters:
className- Class that exception is raised frommethodName- Method that exception is raised frominputName- Name of invalid input
-
InvalidInputException
Constructs anInvalidInputExceptionwith a message like: "Input " + inputName + " " + msg- Parameters:
className- Class that exception is raised frommethodName- Method that exception is raised frominputName- Name of invalid inputmsg- error message detailing input problem
-
InvalidInputException
-
InvalidInputException
Constructs anInvalidInputExceptionwith a default message.- Parameters:
obj- Object that exception is raised frommethodName- Method that exception is raised frominputName- Name of invalid inputmsg- error message detailing input problem
-
-
Method Details
-
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
-