Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.

Commit

Permalink
RAS-46 Add login exceptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
christian.rijke committed Sep 2, 2015
1 parent a78e824 commit 6a9d94c
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* echocat Marquardt Java SDK, Copyright (c) 2015 echocat
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package org.echocat.marquardt.common.exceptions;

public class AlreadyLoggedInException extends RuntimeException {

public AlreadyLoggedInException() {
super();
}

public AlreadyLoggedInException(String message) {
super(message);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* echocat Marquardt Java SDK, Copyright (c) 2015 echocat
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package org.echocat.marquardt.common.exceptions;

public class LoginFailedException extends RuntimeException {

public LoginFailedException() {
super();
}

public LoginFailedException(String message) {
super(message);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* echocat Marquardt Java SDK, Copyright (c) 2015 echocat
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package org.echocat.marquardt.common.exceptions;

public class UserExistsException extends RuntimeException {

public UserExistsException() {
super();
}

public UserExistsException(String message) {
super(message);
}

}

0 comments on commit 6a9d94c

Please sign in to comment.