com.programix.thread
Class TimedOutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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)
Copyright © 2001-2009
Programix Incorporated.
All rights reserved.
ProgramixGenericLib is free
and is
OSI Certified
Open Source Software under the BSD
license.