public class ExceptionHolder extends Object implements Externalizable
| Constructor and Description |
|---|
ExceptionHolder() |
ExceptionHolder(Throwable exception) |
ExceptionHolder(Throwable exception,
boolean nested) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public ExceptionHolder()
public ExceptionHolder(Throwable exception)
public ExceptionHolder(Throwable exception, boolean nested)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic Throwable getException()
public static List<ExceptionHolder> toExceptionHolders(List<? extends Throwable> throwables)
public static List<Throwable> toThrowables(List<ExceptionHolder> exceptionHolders)
Copyright © 2019. All rights reserved.