Teiid 8.3.0.Final

org.teiid.client.util
Class ExceptionHolder

java.lang.Object
  extended by org.teiid.client.util.ExceptionHolder
All Implemented Interfaces:
Externalizable, Serializable

public class ExceptionHolder
extends Object
implements Externalizable

See Also:
Serialized Form

Constructor Summary
ExceptionHolder()
           
ExceptionHolder(Throwable exception)
           
ExceptionHolder(Throwable exception, boolean nested)
           
 
Method Summary
 Throwable getException()
           
 void readExternal(ObjectInput in)
           
static List<ExceptionHolder> toExceptionHolders(List<? extends Throwable> throwables)
           
static List<Throwable> toThrowables(List<ExceptionHolder> exceptionHolders)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHolder

public ExceptionHolder()

ExceptionHolder

public ExceptionHolder(Throwable exception)

ExceptionHolder

public ExceptionHolder(Throwable exception,
                       boolean nested)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

getException

public Throwable getException()

toExceptionHolders

public static List<ExceptionHolder> toExceptionHolders(List<? extends Throwable> throwables)

toThrowables

public static List<Throwable> toThrowables(List<ExceptionHolder> exceptionHolders)

Teiid 8.3.0.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.