org.teiid.client.util
Class ExceptionHolder
java.lang.Object
org.teiid.client.util.ExceptionHolder
- All Implemented Interfaces:
- Externalizable, Serializable
public class ExceptionHolder
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionHolder
public ExceptionHolder()
ExceptionHolder
public ExceptionHolder(Throwable exception)
ExceptionHolder
public ExceptionHolder(Throwable exception,
boolean nested)
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)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.