@InterfaceAudience.Private public class ExceptionUtil extends Object
public static boolean isInterrupt(Throwable t)
public static void rethrowIfInterrupt(Throwable t) throws InterruptedIOException
InterruptedIOException
- if t was an interruption. Does nothing otherwise.public static InterruptedIOException asInterrupt(Throwable t)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.