1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

IMAP: detect unsupported parameter

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@966 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-03-22 10:30:47 +00:00
parent 5dc44ff9d8
commit ec8a999ce9
3 changed files with 5 additions and 1 deletions

View File

@ -608,6 +608,8 @@ public class ImapConnection extends AbstractConnection {
os.write(baos.toByteArray());
os.flush();
buffer.setLength(0);
} else {
throw new DavMailException("EXCEPTION_UNSUPPORTED_PARAMETER", param);
}
}
}

View File

@ -24,6 +24,7 @@ EXCEPTION_INVALID_MESSAGE_URL=Invalid message URL: {0}
EXCEPTION_INVALID_RECIPIENT=Invalid recipient: {0}
EXCEPTION_INVALID_REQUEST=Invalid request: {0}
EXCEPTION_INVALID_SEARCH_PARAMETERS=Invalid search parameters: {0}
EXCEPTION_UNSUPPORTED_PARAMETER=Unsupported parameter: {0}
EXCEPTION_NETWORK_DOWN=All network interfaces down or host unreachable !
EXCEPTION_UNABLE_TO_CREATE_MESSAGE=Unable to create message {0}: {1}{2}{3}
EXCEPTION_UNABLE_TO_GET_FOLDER=Unable to get folder at {0}

View File

@ -245,4 +245,5 @@ UI_CALDAV_ALARM_SOUND_HELP=Convertir les alarmes Caldav en alarmes sonores suppo
UI_FORCE_ACTIVESYNC_UPDATE=Forcer ActiveSync :
UI_FORCE_ACTIVESYNC_UPDATE_HELP=Forcer la mise à jour des évènements Caldav pour les appareils connectés via ActiveSync
UI_DEFAULT_DOMAIN=Domaine par défaut :
UI_DEFAULT_DOMAIN_HELP=Nom du domaine windows par défaut
UI_DEFAULT_DOMAIN_HELP=Nom du domaine windows par défaut
EXCEPTION_UNSUPPORTED_PARAMETER=Paramètre non supporté : {0}