Code example for InterruptedIOException

0
            if (!exchange.isAsynchronous()) 
                exchange.await(); 
        } 
        catch (InterruptedException x) 
        { 
            throw new InterruptedIOException(); 
        } 
    } 
}