public class UserAndServerDefinedAlreadyException extends DomainException
The name of this exception is the plain english translation of the unique constraint on (URL, login) that applies to TestAutomationServers : A TestAutomationServer can be registered twice only if uses a different account than the others, and conversely one cannot register an account on a server that is already in use for that server.
| Constructor and Description |
|---|
UserAndServerDefinedAlreadyException(String login,
URL url) |
UserAndServerDefinedAlreadyException(String login,
URL url,
String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getI18nKey() |
Object[] |
getI18nParams()
Can be overridden by subclasses to return the params to use when fetching the i18n'd message.
|
getDefaultMessage, getField, getFieldValue, getObjectName, setFieldValue, setObjectNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UserAndServerDefinedAlreadyException(String login, URL url)
public String getI18nKey()
getI18nKey in interface org.squashtest.tm.core.foundation.i18n.InternationalizablegetI18nKey in class DomainExceptionpublic Object[] getI18nParams()
DomainExceptiongetI18nParams in class DomainExceptionnullCopyright © 2010–2016 Henix, henix.fr. All rights reserved.