Class ValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.broadleafcommerce.common.exception.ServiceException
org.broadleafcommerce.openadmin.server.service.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException extends org.broadleafcommerce.common.exception.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)