public class HopsException extends DMLException
Exception occurring in the HOP level.
ERROR_MSG_DELIMITER
Constructor and Description |
---|
HopsException() |
HopsException(String message) |
HopsException(String message,
Throwable cause) |
HopsException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static void |
check(boolean condition,
Hop hop,
String message,
Object... objects)
If the condition fails, print the Op and its Id, along with the message formatted with objects.
|
static void |
check(boolean condition,
String message,
Object... objects)
If the condition fails, print the message formatted with objects.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HopsException()
public HopsException(String message)
public HopsException(Throwable cause)
public static void check(boolean condition, String message, Object... objects)
condition
- Condition to testmessage
- Message to print if the condition failsobjects
- Objects to print with the message, as per String.formatpublic static void check(boolean condition, Hop hop, String message, Object... objects)
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.formatCopyright © 2020 The Apache Software Foundation. All rights reserved.