Class LinkConflictException
- All Implemented Interfaces:
Serializable
Exception thrown when a link could not be created because of an already existing link to another account.
- Since:
- 3.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLinkConflictException(String localAccountId, AccountDomain foreignAccountDomain, String foreignSubject) -
Method Summary
Modifier and TypeMethodDescriptionGets the foreign account domain in the already existing link.Gets the foreign subject in the already existing link.Gets the local account ID in the already existing link.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LinkConflictException
public LinkConflictException(String localAccountId, AccountDomain foreignAccountDomain, String foreignSubject)
-
-
Method Details
-
getLocalAccountId
Gets the local account ID in the already existing link.- Returns:
- the local account ID
-
getForeignAccountDomain
Gets the foreign account domain in the already existing link.- Returns:
- the foreign
AccountDomain
-
getForeignSubject
Gets the foreign subject in the already existing link.- Returns:
- the foreign subject
-