com.programix.thread
Class InterruptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.programix.thread.InterruptException
- All Implemented Interfaces:
- Serializable
public class InterruptException
- extends RuntimeException
This is a RuntimeException
that is used in place of the more
traditional InterruptedException
to avoid the forced use of
a try-catch. This exception is thrown as a signal that a thread should
gracefully clean up and die. The thread that constructs this exception
also has its interrupt flag set to true.
- 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 |
InterruptException
public InterruptException(String message,
Throwable cause)
InterruptException
public InterruptException(Throwable cause)
InterruptException
public InterruptException(String message)
InterruptException
public InterruptException()
Copyright © 2001-2009
Programix Incorporated.
All rights reserved.
ProgramixGenericLib is free
and is
OSI Certified
Open Source Software under the BSD
license.