com.atlassian.util.concurrent
Class RuntimeTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.util.concurrent.RuntimeTimeoutException
All Implemented Interfaces:
Serializable

public class RuntimeTimeoutException
extends RuntimeException

Convenience class for re-throwing TimeoutException as an unchecked exception.

See Also:
Serialized Form

Constructor Summary
RuntimeTimeoutException(long time, TimeUnit unit)
           
RuntimeTimeoutException(String message, TimeoutException cause)
           
RuntimeTimeoutException(TimeoutException cause)
           
 
Method Summary
 TimeoutException 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
 

Constructor Detail

RuntimeTimeoutException

public RuntimeTimeoutException(TimeoutException cause)

RuntimeTimeoutException

public RuntimeTimeoutException(String message,
                               TimeoutException cause)

RuntimeTimeoutException

public RuntimeTimeoutException(long time,
                               TimeUnit unit)
Method Detail

getCause

public TimeoutException getCause()
Overrides:
getCause in class Throwable


Copyright © 2014 Atlassian. All Rights Reserved.