001package io.ebean.enhance.common;
002
003/**
004 * Exception thrown during enhancement when it is detected that the enhancement has already taken place.
005 * <p>
006 * This is expected when off line enhancement (via ant task) is used.
007 * </p>
008 */
009public class AlreadyEnhancedException extends RuntimeException {
010
011  private static final long serialVersionUID = -831705721822834774L;
012
013  private final String className;
014
015  public AlreadyEnhancedException(String className) {
016    this.className = className;
017  }
018
019  public String getClassName() {
020    return className;
021  }
022
023}