HCatException
insteadpublic class HCatException
extends java.io.IOException
Constructor and Description |
---|
HCatException(ErrorType errorType)
Deprecated.
Instantiates a new hcat exception.
|
HCatException(ErrorType errorType,
java.lang.String extraMessage)
Deprecated.
Instantiates a new hcat exception.
|
HCatException(ErrorType errorType,
java.lang.String extraMessage,
java.lang.Throwable cause)
Deprecated.
Instantiates a new hcat exception.
|
HCatException(ErrorType errorType,
java.lang.Throwable cause)
Deprecated.
Instantiates a new hcat exception.
|
HCatException(java.lang.String message)
Deprecated.
Instantiates a new hcat exception.
|
HCatException(java.lang.String message,
java.lang.Throwable cause)
Deprecated.
Instantiates a new hcat exception.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
buildErrorMessage(ErrorType type,
java.lang.String extraMessage,
java.lang.Throwable cause)
Deprecated.
Builds the error message string.
|
int |
getErrorCode()
Deprecated.
Gets the error code.
|
ErrorType |
getErrorType()
Deprecated.
Gets the error type.
|
boolean |
isRetriable()
Deprecated.
Is this a retriable error.
|
java.lang.String |
toString()
Deprecated.
|
public HCatException(ErrorType errorType)
errorType
- the error typepublic HCatException(ErrorType errorType, java.lang.Throwable cause)
errorType
- the error typecause
- the causepublic HCatException(ErrorType errorType, java.lang.String extraMessage)
errorType
- the error typeextraMessage
- extra messages to add to the message stringpublic HCatException(ErrorType errorType, java.lang.String extraMessage, java.lang.Throwable cause)
errorType
- the error typeextraMessage
- extra messages to add to the message stringcause
- the causepublic HCatException(java.lang.String message)
message
- the error messagepublic HCatException(java.lang.String message, java.lang.Throwable cause)
message
- the error messagecause
- the causepublic static java.lang.String buildErrorMessage(ErrorType type, java.lang.String extraMessage, java.lang.Throwable cause)
type
- the error typeextraMessage
- the extra message stringcause
- the cause for the exceptionpublic boolean isRetriable()
public ErrorType getErrorType()
public int getErrorCode()
public java.lang.String toString()
toString
in class java.lang.Throwable
Copyright © 2012 The Apache Software Foundation