public class InstantiationIOException
extends org.apache.hadoop.fs.PathIOException
| Modifier and Type | Class and Description |
|---|---|
static class |
InstantiationIOException.Kind
An (extensible) enum of kinds of instantiation failure.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ABSTRACT_PROVIDER |
static String |
CONSTRUCTOR_EXCEPTION |
static String |
DOES_NOT_IMPLEMENT |
static String |
INSTANTIATION_EXCEPTION |
| Constructor and Description |
|---|
InstantiationIOException(InstantiationIOException.Kind kind,
URI uri,
String classname,
String key,
String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassname() |
String |
getKey() |
InstantiationIOException.Kind |
getKind() |
static InstantiationIOException |
instantiationException(URI uri,
String classname,
String key,
Throwable t)
General instantiation failure.
|
static InstantiationIOException |
isAbstract(URI uri,
String classname,
String key)
Class is abstract.
|
static InstantiationIOException |
isNotInstanceOf(URI uri,
String classname,
String interfaceName,
String key)
Class does not implement the desired interface.
|
static InstantiationIOException |
unavailable(URI uri,
String classname,
String key,
String text)
Class is unavailable for some reason, probably a missing dependency.
|
static InstantiationIOException |
unsupportedConstructor(URI uri,
String classname,
String key)
Failure to find a valid constructor (signature, visibility) or
factory method.
|
getMessage, getPath, getTargetPath, setOperation, setTargetPath, withFullyQualifiedPathaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String ABSTRACT_PROVIDER
public static final String CONSTRUCTOR_EXCEPTION
public static final String INSTANTIATION_EXCEPTION
public static final String DOES_NOT_IMPLEMENT
public String getClassname()
public InstantiationIOException.Kind getKind()
public String getKey()
public static InstantiationIOException isAbstract(URI uri, String classname, String key)
uri - URI of filesystemclassname - classname.key - configuration keypublic static InstantiationIOException isNotInstanceOf(@Nullable URI uri, String classname, String interfaceName, String key)
uri - URI of filesystemclassname - classname.interfaceName - required interfacekey - configuration keypublic static InstantiationIOException unavailable(@Nullable URI uri, @Nullable String classname, @Nullable String key, String text)
uri - URI of filesystemclassname - classname.key - configuration keytext - text to includepublic static InstantiationIOException unsupportedConstructor(@Nullable URI uri, String classname, String key)
uri - URI of filesystemclassname - classname.key - configuration keyCopyright © 2008–2024 Apache Software Foundation. All rights reserved.