JThreadKitTM
v1.1.0
(public members only)

com.jthreadkit
Class ShutdownException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.jthreadkit.ShutdownException
All Implemented Interfaces:
Serializable

public class ShutdownException
extends RuntimeException

This exception is thrown when an attempt is made to modify or wait for something to change on an object that has been previously shutdown. This exception is also thrown by threads that are already waiting already when the shutdown occurs.

This exception is not thrown if:

If the object is never shutdown, this exception will never be thrown--and since ShutdownException extends RuntimeException there is no requirement for a try-catch block. This exception only needs to be dealt with when an object is going to be eventually shutdown.

See Also:
Serialized Form

Constructor Summary
ShutdownException()
          Constructs a new instance with no detail message.
ShutdownException(String msg)
          Constructs a new instance with the specified message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShutdownException

public ShutdownException(String msg)
Constructs a new instance with the specified message.

ShutdownException

public ShutdownException()
Constructs a new instance with no detail message.

JThreadKitTM
v1.1.0
(public members only)

© Copyright 2000-2001 Programix Incorporated. All rights reserved. JThreadKit home