Class InvalidEntityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.fraunhofer.iese.mydata.exception.InvalidEntityException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidEntityException
(MyDataEntity entity, String message, Set<javax.validation.ConstraintViolation> violations, Throwable e) InvalidEntityException
(MyDataEntity entity, Set<javax.validation.ConstraintViolation> violations) InvalidEntityException
(MyDataEntity entity, Set<javax.validation.ConstraintViolation> violations, Throwable e) InvalidEntityException
(String message) InvalidEntityException
(String string, Exception e) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidEntityException
public InvalidEntityException(MyDataEntity entity, String message, Set<javax.validation.ConstraintViolation> violations, Throwable e) - Parameters:
entity
-message
-violations
-e
-
-
InvalidEntityException
- 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
- Parameters:
string
-e
-
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getConstraintViolations
- Returns:
- the list of violations
-
getStatus
public int getStatus()- Returns:
- the status
-