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