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
 
 public class MLContextException extends RuntimeException Uncaught exception representing SystemDS exceptions that occur through the MLContext API.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MLContextException()MLContextException(String message)MLContextException(String message, boolean suppressStacktrace)Generate an exception and optionally suppress the stacktrace.MLContextException(String message, Throwable cause)MLContextException(Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
- 
 
- 
- 
- 
Constructor Detail- 
MLContextExceptionpublic MLContextException() 
 - 
MLContextExceptionpublic MLContextException(String message) 
 - 
MLContextExceptionpublic MLContextException(Throwable cause) 
 - 
MLContextExceptionpublic MLContextException(String message, boolean suppressStacktrace) 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 message
- suppressStacktrace-- trueto suppress stacktrace,- falseotherwise
 
 
- 
 
-