1 package org.springframework.security.oauth2.common.exceptions;
2
3
4
5
6
7
8
9 @SuppressWarnings("serial")
10 public abstract class ClientAuthenticationException extends OAuth2Exception {
11
12 public ClientAuthenticationException(String msg, Throwable t) {
13 super(msg, t);
14 }
15
16 public ClientAuthenticationException(String msg) {
17 super(msg);
18 }
19
20 @Override
21 public int getHttpErrorCode() {
22
23 return 400;
24 }
25
26 @Override
27 public abstract String getOAuth2ErrorCode();
28 }