Class MLResourceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opensearch.ml.common.exception.MLException
org.opensearch.ml.common.exception.MLResourceNotFoundException
- All Implemented Interfaces:
Serializable
This exception is thrown when a resource is not found.
Won't count this exception in stats.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMLResourceNotFoundException(String message) Constructor with error message.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
-
MLResourceNotFoundException
Constructor with error message.- Parameters:
message- message of the exception
-
MLResourceNotFoundException
Constructor with specified cause.- Parameters:
cause- exception cause
-