Throw UnsupportedOperationException for unsupported method. (OperationFailedException is

not allowed here.)
fix-message-formatting
Danny van Heumen 12 years ago
parent cbd7f7525d
commit b2a3f6c4b0

@ -127,13 +127,16 @@ protected ProtocolProviderService createService(final String userID,
/**
* Modify an existing IRC account.
*
* This method is not implemented. The current approach is te reinsert the
* account as if "newly" created.
*
* {@inheritDoc}
*/
@Override
public void modifyAccount(final ProtocolProviderService protocolProvider,
final Map<String, String> accountProperties)
{
// not implemented, modified accounts currently get reinstalled as
// "newly" created accounts.
throw new UnsupportedOperationException(
"This method is currently not supported.");
}
}

Loading…
Cancel
Save