org.springframework.security.oauth2.common.exceptions.InvalidRequestException.java Source code

Java tutorial

Introduction

Here is the source code for org.springframework.security.oauth2.common.exceptions.InvalidRequestException.java

Source

package org.springframework.security.oauth2.common.exceptions;

/**
 * @author Dave Syer
 */
@SuppressWarnings("serial")
public class InvalidRequestException extends ClientAuthenticationException {

    public InvalidRequestException(String msg, Throwable t) {
        super(msg, t);
    }

    public InvalidRequestException(String msg) {
        super(msg);
    }

    @Override
    public String getOAuth2ErrorCode() {
        return "invalid_request";
    }
}