org.avis.common
Class RuntimeInterruptedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.avis.common.RuntimeInterruptedException
All Implemented Interfaces:
Serializable

public class RuntimeInterruptedException
extends RuntimeException

Like InterruptedException, but less annoying. Classes that use Thread.wait () etc and want to avoid everyhing up the chain declaring InterruptedException, should catch it and re-throw this.

Author:
Matthew Phillips
See Also:
Serialized Form

Constructor Summary
RuntimeInterruptedException(InterruptedException cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuntimeInterruptedException

public RuntimeInterruptedException(InterruptedException cause)


Copyright © 2008 Matthew Phillips. All Rights Reserved.