Class IOExceptionSupport
java.lang.Object
org.apache.qpid.protonj2.client.util.IOExceptionSupport
Used to make throwing IOException instances easier.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic IOExceptionChecks the given cause to determine if it's already an IOException type and if not creates a new IOException to wrap it.
- 
Constructor Details- 
IOExceptionSupportpublic IOExceptionSupport()
 
- 
- 
Method Details- 
createChecks the given cause to determine if it's already an IOException type and if not creates a new IOException to wrap it.- Parameters:
- cause- The initiating exception that should be cast or wrapped.
- Returns:
- an IOException instance.
 
 
-