com.metamatrix.api.exception
Class ExceptionHolder
java.lang.Object
com.metamatrix.api.exception.ExceptionHolder
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class ExceptionHolder
- extends java.lang.Object
- implements java.io.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(java.lang.Throwable exception)
ExceptionHolder
public ExceptionHolder(java.lang.Throwable exception,
boolean nested)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
getException
public java.lang.Throwable getException()
toExceptionHolders
public static java.util.List<ExceptionHolder> toExceptionHolders(java.util.List<? extends java.lang.Throwable> throwables)
toThrowables
public static java.util.List<java.lang.Throwable> toThrowables(java.util.List<ExceptionHolder> exceptionHolders)
Copyright © 2009. All Rights Reserved.