Package org.apache.sysds.api.mlcontext
Class MLContextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sysds.api.mlcontext.MLContextException
- All Implemented Interfaces:
Serializable
Uncaught exception representing SystemDS exceptions that occur through the
MLContext API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMLContextException(String message) MLContextException(String message, boolean suppressStacktrace) Generate an exception and optionally suppress the stacktrace.MLContextException(String message, Throwable cause) MLContextException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
MLContextException
public MLContextException() -
MLContextException
-
MLContextException
-
MLContextException
-
MLContextException
Generate an exception and optionally suppress the stacktrace. This can be useful in an environment such as a Spark Shell in certain situations where a stacktrace may be extraneous.- Parameters:
message- the exception messagesuppressStacktrace-trueto suppress stacktrace,falseotherwise
-
-
Method Details