Class ValidationError.MismatchedObjectNodeForPath

  • Enclosing class:
    ValidationError

    public static class ValidationError.MismatchedObjectNodeForPath
    extends ValidationError
    Received the wrong node type while navigating to a node.
    • Constructor Detail

      • MismatchedObjectNodeForPath

        public MismatchedObjectNodeForPath​(java.lang.String path,
                                           java.lang.Class<?> expectedKlass,
                                           java.lang.Class<?> actualKlass)
    • 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