Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package unicon.matthews.security.exception; |
||
13 | public class JwtExpiredTokenException extends AuthenticationException { |
||
14 | private static final long serialVersionUID = -5959543783324224864L; |
||
15 | |||
16 | private JwtToken token; |
||
17 | |||
18 | public JwtExpiredTokenException(String msg) { |
||
19 | super(msg); |
||
20 | } |
||
21 | |||
22 | public JwtExpiredTokenException(JwtToken token, String msg, Throwable t) { |
||
23 | super(msg, t); |
||
24 | this.token = token; |
||
25 | } |
||
26 | |||
27 | public String token() { |
||
28 | return this.token.getToken(); |
||
29 | } |
||
31 |