Package net.sourceforge.pmd.properties
Class ConstraintViolatedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- net.sourceforge.pmd.properties.ConstraintViolatedException
-
- All Implemented Interfaces:
Serializable
public class ConstraintViolatedException extends IllegalArgumentException
Thrown when a property constraint is violated. Detected while parsing values from XML.- Author:
- Clément Fournier
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyConstraint<?>
getConstraint()
String
getMessageWithoutValue()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getConstraint
public PropertyConstraint<?> getConstraint()
-
getMessageWithoutValue
public String getMessageWithoutValue()
-
-