ProgramixGenericLib v5.0.1

com.programix.thread
Class TimedOutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.programix.thread.TimedOutException
All Implemented Interfaces:
Serializable

public class TimedOutException
extends RuntimeException

Thrown by some methods to indicate that a timeout occurred. Instead of throwing this exception, some methods may simply return false or ThreadTools.TIMED_OUT to indicate a timeout.

This is a RuntimeException so callers are not required to catch it.

For advanced tools and utilities related to multithreading, please check out JThreadKit.

Author:
Paul Hyde
See Also:
Serialized Form

Constructor Summary
TimedOutException()
           
TimedOutException(long msTimeout)
           
TimedOutException(String message)
           
TimedOutException(String message, Throwable cause)
           
TimedOutException(Throwable 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimedOutException

public TimedOutException()

TimedOutException

public TimedOutException(String message)

TimedOutException

public TimedOutException(String message,
                         Throwable cause)

TimedOutException

public TimedOutException(Throwable cause)

TimedOutException

public TimedOutException(long msTimeout)

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.