org.springframework.jee.validation
Class InvalidDeploymentUnitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.springframework.jee.validation.InvalidDeploymentUnitException
- All Implemented Interfaces:
- Serializable
public class InvalidDeploymentUnitException
- extends Exception
Exception thrown when an entire deployment unit is invalid.
Contains list of exceptions about detailed violations.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidDeploymentUnitException
public InvalidDeploymentUnitException()
addViolation
public void addViolation(SpecificationViolation violation)
getViolations
public List<SpecificationViolation> getViolations()
- Returns:
- the violations
hasErrors
public boolean hasErrors()
Copyright © 2006-2008 SpringSource (formerly Interface21). All Rights Reserved.