Class FileWritingException

All Implemented Interfaces:
Serializable

@ResponseStatus(INTERNAL_SERVER_ERROR) public class FileWritingException extends CrudCraftGenerationException
Exception thrown when there is an error writing a file during code generation.
See Also:
  • Constructor Details

    • FileWritingException

      public FileWritingException(String className)
      Constructs a new FileWritingException with a default message.
    • FileWritingException

      public FileWritingException(String className, String message)
      Constructs a new FileWritingException with a custom message.
      Parameters:
      className - the name of the class for which the file writing failed
      message - the detail message