Class ValidationException

All Implemented Interfaces:
Serializable

public class ValidationException extends ServiceException
Thrown when an entity fails validation when attempting to populate an actual Hibernate entity based on its DTO representation
Author:
Phillip Verheyden (phillipuniverse)
See Also:
  • Field Details

    • entity

      protected Entity entity
  • Constructor Details

    • ValidationException

      public ValidationException(Entity entity)
    • ValidationException

      public ValidationException(Entity entity, String message)
  • Method Details

    • getEntity

      public Entity getEntity()
    • setEntity

      public void setEntity(Entity entity)