public final class WrappedOpenAS2Exception extends OpenAS2Exception
OpenAS2Exception that wraps an existing exception easily.SOURCE_FILE, SOURCE_MESSAGE| Constructor and Description |
|---|
WrappedOpenAS2Exception(String sMsg,
Throwable aCause) |
| Modifier and Type | Method and Description |
|---|---|
static OpenAS2Exception |
wrap(Throwable t)
Ensure the passed
Throwable is an OpenAS2Exception. |
addSource, getAllSources, getSource, log, terminateaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString@Nonnull public static OpenAS2Exception wrap(@Nonnull Throwable t)
Throwable is an OpenAS2Exception.t - The Throwable to use.WrappedOpenAS2Exception containing t.Copyright © 2013–2019 Philip Helger. All rights reserved.