Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2015#discussion_r128764060
  
    --- Diff: 
nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/SchemaValidationException.java
 ---
    @@ -15,14 +15,16 @@
      * limitations under the License.
      */
     
    -package org.apache.nifi.serialization.record;
    +package org.apache.nifi.serialization;
     
    -public class TypeMismatchException extends RuntimeException {
    --- End diff --
    
    I don't agree that they are pretty much the same thing. 
TypeMismatchException is very specific. SchemaValidationException can be much 
more broad. For instance, if a required field is missing, that is not a Type 
Mismatch, but it is a Schema Validation.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to