summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/LoginError.java
blob: 71766933653d90739f670b0fe5db57e53560dccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package jrummikub.view;

/**
 * Enum summarizing the different kinds of login errors
 */
public enum LoginError {
	/** Error cannot be dissolved to a specific type */
	UNKNOWN_ERROR,
	/** No answer from network */
	TIMEOUT,
	/** Connection denied by server */
	CONNECTION_REFUSED,
	/** Password or username incorrect */
	AUTHENTICATION_FAILED,
	/** Username already occurs in the same channel */
	RESOURCE_CONFLICT,
	/** Server not found */
	UNKNOWN_HOST,
	/** Channel not found */
	UNKNOWN_CHANNEL
}