Class ValidationError.UnableToMergeDifferentNodes

  • Enclosing class:
    ValidationError

    public static class ValidationError.UnableToMergeDifferentNodes
    extends ValidationError
    Unable to merge nodes of different types. Can not merge an array with a object or an object with a leaf.
    • Constructor Detail

      • UnableToMergeDifferentNodes

        public UnableToMergeDifferentNodes​(java.lang.Class<?> klass1,
                                           java.lang.Class<?> klass2)
    • Method Detail

      • description

        public java.lang.String description()
        Description copied from class: ValidationError
        Get the description of the error.
        Specified by:
        description in class ValidationError
        Returns:
        description of the error