public class HiveException
extends java.lang.Exception
| Constructor and Description |
|---|
HiveException() |
HiveException(ErrorMsg message,
java.lang.String... msgArgs) |
HiveException(java.lang.String message) |
HiveException(java.lang.String message,
java.lang.Throwable cause) |
HiveException(java.lang.Throwable cause) |
HiveException(java.lang.Throwable cause,
ErrorMsg errorMsg,
java.lang.String... msgArgs)
This is the recommended constructor to use since it helps use
canonical messages throughout.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorMsg |
getCanonicalErrorMsg() |
public HiveException()
public HiveException(java.lang.String message)
public HiveException(java.lang.Throwable cause)
public HiveException(java.lang.String message,
java.lang.Throwable cause)
public HiveException(ErrorMsg message, java.lang.String... msgArgs)
public HiveException(java.lang.Throwable cause,
ErrorMsg errorMsg,
java.lang.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 © 2012 The Apache Software Foundation