Class 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 Detail

      • MLContextException

        public MLContextException()
      • MLContextException

        public MLContextException​(String message,
                                  Throwable cause)
      • MLContextException

        public MLContextException​(String message)
      • MLContextException

        public MLContextException​(Throwable cause)
      • MLContextException

        public 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 - true to suppress stacktrace, false otherwise