// Generated by delombok at Sat Jun 11 16:42:02 CEST 2016 class Exception { } public class BuilderConstructorException { private int i; public BuilderConstructorException(int i) throws Exception { System.out.println("sss"); } public static void main(String[] args) { try { builder().i(2).build(); } catch (Exception ignore) { } } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderConstructorExceptionBuilder { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") private int i; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderConstructorExceptionBuilder() { } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public BuilderConstructorExceptionBuilder i(final int i) { this.i = i; return this; } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") //added "throws Exception" to delomboked code public BuilderConstructorException build() throws Exception { return new BuilderConstructorException(i); } @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public java.lang.String toString() { return "BuilderConstructorException.BuilderConstructorExceptionBuilder(i=" + this.i + ")"; } } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static BuilderConstructorExceptionBuilder builder() { return new BuilderConstructorExceptionBuilder(); } }