cdev.dir
Class BadConnectionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--cdev.dir.DataNotFoundException
                    |
                    +--cdev.dir.BadConnectionException

public class BadConnectionException
extends DataNotFoundException

The database is down or is not accessible or the connection is broken. The directory service should try to repair this automatically. When that fails, the directory service should pop up some panel that enables the operator to do manual repair. Only when this also fails should this exception be raised for the client program. This means that the client program may occasionally wait a long time for a response. If this is intolerable, do the directory service call in a separate thread. When this exception is raised in a client program, the program should act appropriately, but in no case should it try to repair the fault by itself: his would probably fail also and could interfere with similar actions by other client programs.

See Also:
Serialized Form

Constructor Summary
BadConnectionException()
           
BadConnectionException(java.lang.String 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

BadConnectionException

public BadConnectionException()

BadConnectionException

public BadConnectionException(java.lang.String message)