org.apache.pig.impl.util
Class WrappedIOException

java.lang.Object
  extended by org.apache.pig.impl.util.WrappedIOException

Deprecated. This class was introduced to overcome the limitation that before Java 1.6, 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 Summary
WrappedIOException()
          Deprecated.  
 
Method Summary
static IOException wrap(String message, Throwable e)
          Deprecated.  
static IOException wrap(Throwable e)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrappedIOException

public WrappedIOException()
Deprecated. 
Method Detail

wrap

public static IOException wrap(Throwable e)
Deprecated. 

wrap

public static IOException wrap(String message,
                               Throwable e)
Deprecated. 


Copyright © ${year} The Apache Software Foundation