Java Code Examples for org.zalando.problem.Status#BAD_REQUEST

The following examples show how to use org.zalando.problem.Status#BAD_REQUEST . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InvalidPasswordException.java    From okta-jhipster-microservices-oauth-example with Apache License 2.0 4 votes vote down vote up
public InvalidPasswordException() {
    super(ErrorConstants.INVALID_PASSWORD_TYPE, "Incorrect password", Status.BAD_REQUEST);
}
 
Example 2
Source File: EmailNotFoundException.java    From cubeai with Apache License 2.0 4 votes vote down vote up
public EmailNotFoundException() {
    super(ErrorConstants.EMAIL_NOT_FOUND_TYPE, "Email address not registered", Status.BAD_REQUEST);
}
 
Example 3
Source File: InvalidPasswordException.java    From scava with Eclipse Public License 2.0 4 votes vote down vote up
public InvalidPasswordException() {
    super(ErrorConstants.INVALID_PASSWORD_TYPE, "Incorrect password", Status.BAD_REQUEST);
}
 
Example 4
Source File: BadRequestAlertException.java    From TeamDojo with Apache License 2.0 4 votes vote down vote up
public BadRequestAlertException(URI type, String defaultMessage, String entityName, String errorKey) {
    super(type, defaultMessage, Status.BAD_REQUEST, null, null, null, getAlertParameters(entityName, errorKey));
    this.entityName = entityName;
    this.errorKey = errorKey;
}
 
Example 5
Source File: BadRequestAlertException.java    From cubeai with Apache License 2.0 4 votes vote down vote up
public BadRequestAlertException(URI type, String defaultMessage, String entityName, String errorKey) {
    super(type, defaultMessage, Status.BAD_REQUEST, null, null, null, getAlertParameters(entityName, errorKey));
    this.entityName = entityName;
    this.errorKey = errorKey;
}
 
Example 6
Source File: BadRequestAlertException.java    From okta-jhipster-microservices-oauth-example with Apache License 2.0 4 votes vote down vote up
public BadRequestAlertException(URI type, String defaultMessage, String entityName, String errorKey) {
    super(type, defaultMessage, Status.BAD_REQUEST, null, null, null, getAlertParameters(entityName, errorKey));
    this.entityName = entityName;
    this.errorKey = errorKey;
}
 
Example 7
Source File: InvalidPasswordException.java    From cubeai with Apache License 2.0 4 votes vote down vote up
public InvalidPasswordException() {
    super(ErrorConstants.INVALID_PASSWORD_TYPE, "Incorrect password", Status.BAD_REQUEST);
}
 
Example 8
Source File: EmailNotFoundException.java    From cubeai with Apache License 2.0 4 votes vote down vote up
public EmailNotFoundException() {
    super(ErrorConstants.EMAIL_NOT_FOUND_TYPE, "Email address not registered", Status.BAD_REQUEST);
}
 
Example 9
Source File: InvalidPasswordException.java    From cubeai with Apache License 2.0 4 votes vote down vote up
public InvalidPasswordException() {
    super(ErrorConstants.INVALID_PASSWORD_TYPE, "Incorrect password", Status.BAD_REQUEST);
}
 
Example 10
Source File: BadRequestAlertException.java    From cubeai with Apache License 2.0 4 votes vote down vote up
public BadRequestAlertException(URI type, String defaultMessage, String entityName, String errorKey) {
    super(type, defaultMessage, Status.BAD_REQUEST, null, null, null, getAlertParameters(entityName, errorKey));
    this.entityName = entityName;
    this.errorKey = errorKey;
}
 
Example 11
Source File: BadRequestAlertException.java    From alchemy with Apache License 2.0 4 votes vote down vote up
public BadRequestAlertException(URI type, String defaultMessage, String entityName, String errorKey) {
    super(type, defaultMessage, Status.BAD_REQUEST, null, null, null, getAlertParameters(entityName, errorKey));
    this.entityName = entityName;
    this.errorKey = errorKey;
}
 
Example 12
Source File: InvalidPasswordException.java    From ehcache3-samples with Apache License 2.0 4 votes vote down vote up
public InvalidPasswordException() {
    super(ErrorConstants.INVALID_PASSWORD_TYPE, "Incorrect password", Status.BAD_REQUEST);
}
 
Example 13
Source File: EmailNotFoundException.java    From scava with Eclipse Public License 2.0 4 votes vote down vote up
public EmailNotFoundException() {
    super(ErrorConstants.EMAIL_NOT_FOUND_TYPE, "Email address not registered", Status.BAD_REQUEST);
}
 
Example 14
Source File: BadRequestAlertException.java    From e-commerce-microservice with Apache License 2.0 4 votes vote down vote up
public BadRequestAlertException(URI type, String defaultMessage, String entityName, String errorKey) {
    super(type, defaultMessage, Status.BAD_REQUEST, null, null, null, getAlertParameters(entityName, errorKey));
    this.entityName = entityName;
    this.errorKey = errorKey;
}
 
Example 15
Source File: InvalidPasswordException.java    From e-commerce-microservice with Apache License 2.0 4 votes vote down vote up
public InvalidPasswordException() {
    super(ErrorConstants.INVALID_PASSWORD_TYPE, "Incorrect password", Status.BAD_REQUEST);
}
 
Example 16
Source File: BadRequestAlertException.java    From jhipster-registry with Apache License 2.0 4 votes vote down vote up
public BadRequestAlertException(URI type, String defaultMessage, String entityName, String errorKey) {
    super(type, defaultMessage, Status.BAD_REQUEST, null, null, null, getAlertParameters(entityName, errorKey));
    this.entityName = entityName;
    this.errorKey = errorKey;
}
 
Example 17
Source File: BadRequestAlertException.java    From Full-Stack-Development-with-JHipster with MIT License 4 votes vote down vote up
public BadRequestAlertException(URI type, String defaultMessage, String entityName, String errorKey) {
    super(type, defaultMessage, Status.BAD_REQUEST, null, null, null, getAlertParameters(entityName, errorKey));
    this.entityName = entityName;
    this.errorKey = errorKey;
}
 
Example 18
Source File: BadRequestAlertException.java    From java-microservices-examples with Apache License 2.0 4 votes vote down vote up
public BadRequestAlertException(URI type, String defaultMessage, String entityName, String errorKey) {
    super(type, defaultMessage, Status.BAD_REQUEST, null, null, null, getAlertParameters(entityName, errorKey));
    this.entityName = entityName;
    this.errorKey = errorKey;
}
 
Example 19
Source File: EmailNotFoundException.java    From Spring-5.0-Projects with MIT License 4 votes vote down vote up
public EmailNotFoundException() {
    super(ErrorConstants.EMAIL_NOT_FOUND_TYPE, "Email address not registered", Status.BAD_REQUEST);
}
 
Example 20
Source File: InvalidPasswordException.java    From okta-jhipster-microservices-oauth-example with Apache License 2.0 4 votes vote down vote up
public InvalidPasswordException() {
    super(ErrorConstants.INVALID_PASSWORD_TYPE, "Incorrect password", Status.BAD_REQUEST);
}