Class MLValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opensearch.ml.common.exception.MLException
org.opensearch.ml.common.exception.MLValidationException
- All Implemented Interfaces:
Serializable
This exception is thrown when validation failed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMLValidationException(String message) Constructor with error message.MLValidationException(Throwable cause) Constructor with specified cause. -
Method Summary
Methods inherited from class org.opensearch.ml.common.exception.MLException
countedInStats, isCountedInStatsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MLValidationException
Constructor with error message.- Parameters:
message- message of the exception
-
MLValidationException
Constructor with specified cause.- Parameters:
cause- exception cause
-