net.grinder.common
Class UncheckedInterruptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.grinder.common.UncheckedGrinderException
net.grinder.common.UncheckedInterruptedException
- All Implemented Interfaces:
- Serializable
public class UncheckedInterruptedException
- extends UncheckedGrinderException
Make InterruptedExceptions and InterruptedIOExceptions
easier to propagate.
Our policy on interrupt handling:
- Author:
- Philip Aston
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UncheckedInterruptedException
public UncheckedInterruptedException(InterruptedException e)
- Constructor.
- Parameters:
e - The original InterruptedException.
ioException
public static void ioException(IOException e)
InterruptedIOExceptions are a pain to handle as they extend
IOException. IOException handlers should call this, unless
they are part of an InterruptibleRunnable
and know what they're doing.
- Parameters:
e - An IOException.
Copyright © 2000-2013. All Rights Reserved.