Class ResteasyConstraintViolation

  • All Implemented Interfaces:
    java.io.Serializable

    public class ResteasyConstraintViolation
    extends java.lang.Object
    implements java.io.Serializable
    Version:
    $Revision: 1.1 $ Copyright Jun 4, 2013
    See Also:
    Serialized Form
    • Field Detail

      • path

        private java.lang.String path
      • message

        private java.lang.String message
      • value

        private java.lang.String value
    • Constructor Detail

      • ResteasyConstraintViolation

        public ResteasyConstraintViolation​(ConstraintType.Type constraintType,
                                           java.lang.String path,
                                           java.lang.String message,
                                           java.lang.String value)
      • ResteasyConstraintViolation

        public ResteasyConstraintViolation()
    • Method Detail

      • getConstraintType

        public ConstraintType.Type getConstraintType()
        Returns:
        type of constraint
      • getPath

        public java.lang.String getPath()
        Returns:
        description of element violating constraint
      • getMessage

        public java.lang.String getMessage()
        Returns:
        description of constraint violation
      • getValue

        public java.lang.String getValue()
        Returns:
        object in violation of constraint
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        String representation of violation
      • type

        public java.lang.String type()
        Returns:
        String form of violation type