ymsg.network
Class LoginRefusedException

Object
  extended byThrowable
      extended byException
          extended byYahooException
              extended byLoginRefusedException
All Implemented Interfaces:
Serializable

public class LoginRefusedException
extends YahooException

Thrown when login using fails, often because of a bad username or password.

Since:
1.0
See Also:
Serialized Form

Method Summary
 long getStatus()
          Returns the status code given by the server.
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getStatus

public long getStatus()
Returns the status code given by the server. This will one of the values specified in StatusConstants. Values will be either STATUS_BADUSERNAME for an unknown account, or STATUS_BAD for a bad password (or other fault).

Returns:
status value
Since:
1.0