Skip to content

Method: WrongPasswordException(String, String)

1: package de.fhdw.wtf.persistence.exception;
2:
3: /**
4: * Ein Fehler der geworfen wird, wenn das falsche Passwort f�r den Datenbank Login hinterlegt wurde.
5: */
6: public class WrongPasswordException extends PersistenceException {
7:         
8:         /**
9:          * Konstruktor der die entsprechende Fehlermeldung zur�ckgibt.
10:          *
11:          * @param mandant
12:          * TODO
13:          * @param user
14:          * ist der Benutzer, zu dem das falsche Passwort eingegeben wurde.
15:          */
16:         public WrongPasswordException(final String mandant, final String user) {
17:                 super("The password for user: " + user + " at mandant: " + mandant + " was incorrect", null);
18:         }
19:         
20:         /**
21:          *
22:          */
23:         private static final long serialVersionUID = 1L;
24:         
25: }