Class ModelLoadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.codedstream.otterstream.inference.exception.ModelLoadException
-
- All Implemented Interfaces:
Serializable
public class ModelLoadException extends Exception
Exception thrown when model loading fails.Common causes:
- Model file not found
- Corrupted model file
- Incompatible model format
- Insufficient memory
- Missing dependencies
- Since:
- 1.0.0
- Author:
- Nestor Martourez, Sr Software and Data Streaming Engineer @ CodedStreams
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModelLoadException(String message)Constructs a model load exception with a message.ModelLoadException(String message, Throwable cause)Constructs a model load exception with a message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ModelLoadException
public ModelLoadException(String message)
Constructs a model load exception with a message.- Parameters:
message- error description
-
-