com.atlassian.util.concurrent
Class RuntimeInterruptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.util.concurrent.RuntimeInterruptedException
- All Implemented Interfaces:
- java.io.Serializable
public class RuntimeInterruptedException
- extends java.lang.RuntimeException
Convenience class for re-throwing InterruptedException
. Sets the
Thread.interrupted()
flag to true.
- See Also:
- Serialized Form
Method Summary |
java.lang.InterruptedException |
getCause()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RuntimeInterruptedException
public RuntimeInterruptedException(java.lang.InterruptedException cause)
RuntimeInterruptedException
public RuntimeInterruptedException(java.lang.String message,
java.lang.InterruptedException cause)
getCause
public java.lang.InterruptedException getCause()
- Overrides:
getCause
in class java.lang.Throwable
Copyright © 2009 Atlassian. All Rights Reserved.