org.garret.consus
Class ConsusLoginRefusedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by org.garret.consus.ConsusLoginRefusedException
All Implemented Interfaces:
java.io.Serializable

public class ConsusLoginRefusedException
extends java.sql.SQLException

Exception thrown on client side when connection is refused by the server

See Also:
Serialized Form

Constructor Summary
ConsusLoginRefusedException(java.lang.String host, int port, java.util.Properties userInfo)
          Constructor
 
Method Summary
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConsusLoginRefusedException

public ConsusLoginRefusedException(java.lang.String host,
                                   int port,
                                   java.util.Properties userInfo)
Constructor

Parameters:
host - address of the server which refused the connection
port - port to which connection was made
userInfo - properties of the user