1 package com.atlassian.seraph.auth;
2
3
4
5
6
7
8 public class AuthenticatorException extends Exception
9 {
10 private AuthenticationErrorType errorType;
11
12 public AuthenticatorException()
13 {
14 }
15
16 public AuthenticatorException(String s)
17 {
18 super(s);
19 }
20
21 public AuthenticatorException(AuthenticationErrorType errorType)
22 {
23 this(errorType.name());
24 this.errorType = errorType;
25 }
26
27 public AuthenticationErrorType getErrorType()
28 {
29 return errorType;
30 }
31
32 }