public class ProviderExceptionSupport extends Object
| Constructor and Description |
|---|
ProviderExceptionSupport() |
| Modifier and Type | Method and Description |
|---|---|
static ProviderException |
createNonFatalOrPassthrough(Throwable cause)
Checks the given cause to determine if it's already an ProviderException type and
if not creates a new ProviderException to wrap it.
|
static ProviderIOException |
createOrPassthroughFatal(Throwable cause)
Checks the given cause to determine if it's already an ProviderIOException type and
if not creates a new ProviderIOException to wrap it.
|
public static ProviderIOException createOrPassthroughFatal(Throwable cause)
cause - The initiating exception that should be cast or wrapped.public static ProviderException createNonFatalOrPassthrough(Throwable cause)
cause - The initiating exception that should be cast or wrapped.Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.