Class BuilderException

All Implemented Interfaces:
Serializable

public class BuilderException extends IllegalStateException
Represents a build error.
Author:
Jan Martin Persch
See Also:
  • Constructor Details

    • BuilderException

      public BuilderException(@Nonnull Class<?> builderClass, @Nonnull Class<?> buildableClass)
      Creates a new instance of the BuilderException class.
      Parameters:
      builderClass - The builder class.
      buildableClass - The class to build.
    • BuilderException

      public BuilderException(@Nonnull Class<?> builderClass, @Nonnull Class<?> buildableClass, @Nullable Throwable cause)
      Creates a new instance of the BuilderException class.
      Parameters:
      builderClass - The builder class.
      buildableClass - The class to build.
      cause - The cause.
  • Method Details

    • getBuilderClass

      @Nonnull public Class<?> getBuilderClass()
      Gets the builder class.
      Returns:
      The value to get.
    • getBuildableClass

      @Nonnull public Class<?> getBuildableClass()
      Gets the buildable class.
      Returns:
      The value to get.