|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Error
java.lang.AssertionError
junit.framework.AssertionFailedError
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
com.ibm.team.fvt.tests.scenario.errors.ServerMessageError
com.ibm.team.fvt.tests.clm.scenario.errors.ClmServerMessageError
public class ClmServerMessageError
Error to report CLM Server error message.
If there's a 'show details' link, then it's possible to get its content by calling
getDetails()
method. Otherwise, the CLM Server error message is
accessible using the getSummary()
method.
If the error is displayed in a dialog, then the dialog can be closed using the
cancel()
method.
Constructor Summary | |
---|---|
ClmServerMessageError(java.lang.String message,
com.ibm.team.fvt.tests.web.WebBrowserElement element)
|
|
ClmServerMessageError(java.lang.String message,
com.ibm.team.fvt.tests.web.WebBrowserElement element,
ClmWebPageDialog dialog)
|
Method Summary | |
---|---|
void |
cancel()
Cancels the dialog where the error msg is displayed. |
java.lang.String |
getDetails()
Returns the error message details after having clicked on the 'show details' link of the error message. |
java.lang.String |
getSummary()
Returns the error message summary before having clicked on the 'show details' link of the error message. |
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 |
---|
public ClmServerMessageError(java.lang.String message, com.ibm.team.fvt.tests.web.WebBrowserElement element)
public ClmServerMessageError(java.lang.String message, com.ibm.team.fvt.tests.web.WebBrowserElement element, ClmWebPageDialog dialog)
Method Detail |
---|
public java.lang.String getDetails()
getDetails
in class com.ibm.team.fvt.tests.scenario.errors.ServerMessageError
String
or
null
if there's no 'show details' link.public java.lang.String getSummary()
getSummary
in class com.ibm.team.fvt.tests.scenario.errors.ServerMessageError
String
.public void cancel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |