com.starbase.starteam
Class LogonException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.starbase.starteam.ServerException
                          |
                          +--com.starbase.starteam.LogonException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PasswordExpiredException

public class LogonException
extends ServerException

An exception that is raised when logon fails due to an invalid user name or password.

See Also:
Server.logOn(java.lang.String, java.lang.String), Serialized Form

Method Summary
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 int hashCode()
          returns a unique hash for all instances of this type
 boolean isUserNameValid()
          Determines whether or not the foreign archive is PVCS.
 
Methods inherited from class com.starbase.starteam.ServerException
forError, getAuxData, getAuxKeys, getClassName, getErrorCode, getErrorMessage, getErrorSource, getLogEntry, getNonLocalizedMessage, getTimeLogged, isLogged, setErrorMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

isUserNameValid

public boolean isUserNameValid()
Determines whether or not the foreign archive is PVCS.

Returns:
true if the foreign archive is PVCS; false otherwise.

equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class ServerException
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class ServerException
Returns:
int a unique hash for all instances of this type

getMessage

public java.lang.String getMessage()
Returns the detail message string of this throwable.

Overrides:
getMessage in class ServerException
Returns:
the detail message string of this Throwable instance (which may be null).


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.