public class OozieClientException extends Exception
OozieClient
.Modifier and Type | Field and Description |
---|---|
static String |
AUTHENTICATION |
static String |
INVALID_FILTER |
static String |
INVALID_INPUT |
static String |
IO_ERROR |
static String |
OTHER |
static String |
UNSUPPORTED_VERSION |
Constructor and Description |
---|
OozieClientException(String errorCode,
String message)
Create an exception.
|
OozieClientException(String errorCode,
String message,
Throwable cause)
Create an exception with a cause.
|
OozieClientException(String errorCode,
Throwable cause)
Create an exception with a cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Return the exception error code.
|
String |
toString()
Return the string representatio of the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final String UNSUPPORTED_VERSION
public static final String IO_ERROR
public static final String INVALID_FILTER
public static final String INVALID_INPUT
public static final String OTHER
public static final String AUTHENTICATION
public OozieClientException(String errorCode, String message)
errorCode
- error code.message
- error message.public OozieClientException(String errorCode, Throwable cause)
errorCode
- error code.cause
- exception cause.public OozieClientException(String errorCode, String message, Throwable cause)
errorCode
- error code.message
- error message.cause
- exception cause.Copyright © 2018 Apache Software Foundation. All rights reserved.