|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.starbase.starteam.ServerException
The ServerException class is a client side exception that is thrown when an error on the server is encountered.
ForeignPasswordException,
Serialized Form| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
static ServerException |
forError(Server server,
java.lang.String className,
java.lang.String errorSource,
int errorCode,
java.lang.String errorMessage,
boolean logged,
double loggedTime,
int logEntry,
java.util.Hashtable auxiliaryData)
|
java.lang.Object |
getAuxData(java.lang.String key)
Returns the auxilary data for a given gey. |
java.lang.String[] |
getAuxKeys()
Returns an array of String keys to auxilary exception data that can be passed to getAuxData(). |
java.lang.String |
getClassName()
Returns the server's class name for this exception. |
int |
getErrorCode()
The exception's error code. |
java.lang.String |
getErrorMessage()
The error message to be presented to the user. |
java.lang.String |
getErrorSource()
The server's error source for the exception. |
int |
getLogEntry()
The server log entry number for the error. |
java.lang.String |
getMessage()
Returns this exeptions error message. |
java.lang.String |
getNonLocalizedMessage()
The "default" (English) version of the error message. |
OLEDate |
getTimeLogged()
The time at which the server logged the error. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isLogged()
Returns true if the error has been logged by the server. |
void |
setErrorMessage(java.lang.String errorMessage)
Replace the message string. |
java.lang.String |
toString()
Returns a string representation of this exception. |
| 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 |
public java.lang.String getClassName()
public java.lang.String getErrorSource()
public java.lang.String getErrorMessage()
SupportedFeatures.isServerLocalized()public java.lang.String getNonLocalizedMessage()
SupportedFeatures.isServerLocalized()public int getErrorCode()
ServerException.getClassName()public boolean isLogged()
public OLEDate getTimeLogged()
public int getLogEntry()
public java.lang.String[] getAuxKeys()
ServerException.getAuxData(String)public java.lang.Object getAuxData(java.lang.String key)
key - a key to auxiliary data
ServerException.getAuxKeys()public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwablepublic void setErrorMessage(java.lang.String errorMessage)
public static ServerException forError(Server server,
java.lang.String className,
java.lang.String errorSource,
int errorCode,
java.lang.String errorMessage,
boolean logged,
double loggedTime,
int logEntry,
java.util.Hashtable auxiliaryData)
public boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||