public class DataImportHandlerException extends RuntimeException
Exception class for all DataImportHandler exceptions
This API is experimental and subject to change
Modifier and Type | Field and Description |
---|---|
boolean |
debugged |
static String |
MSG |
static int |
SEVERE |
static int |
SKIP |
static int |
SKIP_ROW |
static int |
WARN |
Constructor and Description |
---|
DataImportHandlerException(int err) |
DataImportHandlerException(int err,
String message) |
DataImportHandlerException(int err,
String message,
Throwable cause) |
DataImportHandlerException(int err,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getErrCode() |
static DataImportHandlerException |
wrapAndThrow(int err,
Exception e) |
static DataImportHandlerException |
wrapAndThrow(int err,
Exception e,
String msg) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public boolean debugged
public static final int SEVERE
public static final int WARN
public static final int SKIP
public static final int SKIP_ROW
public static final String MSG
public DataImportHandlerException(int err)
public DataImportHandlerException(int err, String message)
public DataImportHandlerException(int err, String message, Throwable cause)
public DataImportHandlerException(int err, Throwable cause)
public int getErrCode()
public static DataImportHandlerException wrapAndThrow(int err, Exception e)
public static DataImportHandlerException wrapAndThrow(int err, Exception e, String msg)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.