Class InvalidEntityException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.fraunhofer.iese.mydata.exception.InvalidEntityException
All Implemented Interfaces:
Serializable

public class InvalidEntityException extends Exception
See Also:
  • Constructor Details

    • InvalidEntityException

      public InvalidEntityException(MyDataEntity entity, String message, Set<javax.validation.ConstraintViolation> violations, Throwable e)
      Parameters:
      entity -
      message -
      violations -
      e -
    • InvalidEntityException

      public InvalidEntityException(String message)
      Parameters:
      message -
    • InvalidEntityException

      public InvalidEntityException(MyDataEntity entity, Set<javax.validation.ConstraintViolation> violations)
      Parameters:
      entity -
      violations -
    • InvalidEntityException

      public InvalidEntityException(MyDataEntity entity, Set<javax.validation.ConstraintViolation> violations, Throwable e)
      Parameters:
      entity -
      violations -
      e -
    • InvalidEntityException

      public InvalidEntityException(String string, Exception e)
      Parameters:
      string -
      e -
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getConstraintViolations

      public Set<javax.validation.ConstraintViolation> getConstraintViolations()
      Returns:
      the list of violations
    • getStatus

      public int getStatus()
      Returns:
      the status