/**
 * @license
 * Copyright 2020 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */
foam.CLASS({
  package: 'foam.core',
  name: 'ValidationException',
  implements: ['foam.core.Exception'],

  properties: [
    {
      class: 'Object',
      of: 'foam.core.PropertyInfo',
      name: 'propertyInfo'
    },
    {
      class: 'String',
      name: 'propName'
    },
    {
      class: 'String',
      name: 'errorMessage'
    }
  ]
});

@@ -184,16 +184,51 @@
 ption',%0A
+  javaExtends: 'RuntimeException',%0A
   implem
@@ -495,16 +495,396 @@
 '%0A    %7D%0A
+  %5D,%0A%0A  axioms: %5B%0A    %7B%0A      name: 'javaExtras',%0A      buildJavaClass: function(cls) %7B%0A        cls.extras.push(foam.java.Code.create(%7B%0A        data: %60%0A    public ValidationException(String message) %7B%0A      super(message);%0A    %7D%0A%0A    public ValidationException(String message, Exception cause) %7B%0A      super(message, cause);%0A    %7D%0A            %60%0A          %7D));%0A        %7D%0A      %7D%0A  
   %5D%0A%7D);%0A

standardize validationException