Package org.apache.sysds.hops
Class HopsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sysds.api.DMLException
org.apache.sysds.hops.HopsException
- All Implemented Interfaces:
Serializable
Exception occurring in the HOP level.
- See Also:
-
Field Summary
Fields inherited from class org.apache.sysds.api.DMLException
ERROR_MSG_DELIMITER -
Constructor Summary
ConstructorsConstructorDescriptionHopsException(String message) HopsException(String message, Throwable cause) HopsException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidIf the condition fails, print the message formatted with objects.static voidIf the condition fails, print the Op and its Id, along with the message formatted with objects.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HopsException
public HopsException() -
HopsException
-
HopsException
-
HopsException
-
-
Method Details
-
check
If the condition fails, print the message formatted with objects.- Parameters:
condition- Condition to testmessage- Message to print if the condition failsobjects- Objects to print with the message, as per String.format
-
check
If the condition fails, print the Op and its Id, along with the message formatted with objects.- Parameters:
condition- Condition to testhop- Hop to print as a cause of the problem, if the condition failsmessage- Message to print if the condition failsobjects- Objects to print with the message, as per String.format
-