All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.jhipster.lite.project.infrastructure.secondary.ProjectFormattingException Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package tech.jhipster.lite.project.infrastructure.secondary;

import tech.jhipster.lite.shared.error.domain.GeneratorException;
import tech.jhipster.lite.shared.generation.domain.ExcludeFromGeneratedCodeCoverage;

@ExcludeFromGeneratedCodeCoverage
class ProjectFormattingException extends GeneratorException {

  public ProjectFormattingException(String message) {
    super(internalServerError(ProjectErrorKey.FORMATTING_ERROR).message(message));
  }

  public ProjectFormattingException(String message, Throwable cause) {
    super(internalServerError(ProjectErrorKey.FORMATTING_ERROR).message(message).cause(cause));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy