public class HiveException extends Exception
| Constructor and Description |
|---|
HiveException() |
HiveException(ErrorMsg message,
String... msgArgs) |
HiveException(String message) |
HiveException(String message,
Throwable cause) |
HiveException(Throwable cause) |
HiveException(Throwable cause,
ErrorMsg errorMsg,
String... msgArgs)
This is the recommended constructor to use since it helps use
canonical messages throughout.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorMsg |
getCanonicalErrorMsg() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HiveException()
public HiveException(String message)
public HiveException(Throwable cause)
public HiveException(Throwable cause, ErrorMsg errorMsg, String... msgArgs)
errorMsg - Canonical error messagemsgArgs - message arguments if message is parametrized; must be null is message takes no argumentspublic ErrorMsg getCanonicalErrorMsg()
ErrorMsg.GENERIC_ERROR by defaultCopyright © 2017 The Apache Software Foundation. All rights reserved.