IOException
did not have a constructor which took a
Throwable
argument. Since Pig code is now compiled with Java 1.6 and
EvalFunc
and LoadFunc
user implementations should also use
Java 1.6, they can use IOException
instead. From Java 1.6,
IOException
has constructors which take a Throwable
argument.@Deprecated public class WrappedIOException extends Object
Constructor and Description |
---|
WrappedIOException()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IOException |
wrap(String message,
Throwable e)
Deprecated.
|
static IOException |
wrap(Throwable e)
Deprecated.
|
public static IOException wrap(Throwable e)
public static IOException wrap(String message, Throwable e)
Copyright © 2007-2012 The Apache Software Foundation