View Javadoc
1   package org.springframework.security.oauth2.common.exceptions;
2   
3   /**
4    * @author Dave Syer
5    */
6   @SuppressWarnings("serial")
7   public class InvalidRequestException extends ClientAuthenticationException {
8   
9   	public InvalidRequestException(String msg, Throwable t) {
10  		super(msg, t);
11  	}
12  
13  	public InvalidRequestException(String msg) {
14  		super(msg);
15  	}
16  
17  	@Override
18  	public String getOAuth2ErrorCode() {
19  		return "invalid_request";
20  	}
21  }